0
var htmll = $("#iframe1").html();
alert(htmll);
$("#myTextarea")
.val(htmll)
.parents("form")
.submit();
警報(HTML1);
爲空白。 iframe的在HTML中的位置是
<body>
<iframe id="iframe1" src="load.php?sinput=<?php echo $_GET['sinput'] ?>" > </iframe>
</body>
是在同一個域周圍頁面的iframe? – 2011-01-14 19:12:03
你有沒有試過`$( 「#iframe1」)的內容();`? – Ish 2011-01-14 19:16:45