$("#iframe").contents().find('body').html(html);
注意,我们不能直接 $("#iframe").html(html);
另外,虽然 iframe 是空的,我们也可以用 contents().find()。
创建于2005年 渝ICP备05010272号-1
电邮:cftea@126.com