我需要訪問在iframe中找到的id。 我有以下代碼:如何訪問iframe內部的ID?
print "<IFRAME id='preview_iframe_form' ... src=\"$server_url/index.cgi ";
裏面的index.cgi,我有以下幾點:
print"<div id='result_div'>";
&show_list();
print "</div>";
我需要檢查result_div高度,以便設置preview_iframe_form的高度
http://stackoverflow.com/questio ns/2947082/whats-the-most-concise-cross-browser-way-to-access-an-iframe-elements-window – mplungjan 2010-10-11 14:11:29
[如何自動調整iFrame大小?](http:// stackoverflow。 com/questions/247128/how-to-auto-size-an-iframe) – 2010-10-11 14:12:12