像这样:
<!DOCTYPE html>
<html>
<meta><script type="text/javascript" src="jquery1.x.js"></script></meta>
<body>
<iframe src="myiframe.html">
</iframe>
<div class="dialog" style="display:none;">
Hello world!
</div>
</body>
</html>
(myiframe.html)
<script type="text/javascript">
$('.dialog').show();
</script>
也许使用 AJAX?