能在showModalDialog弹出的窗口中使用document.write输出文本吗? rt 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 http://dev.firnow.com/course/1_web/javascript/jsjs/2007104/76431.htmlhttp://blog.csdn.net/birdme007/archive/2007/09/24/1798234.aspx 可以:demo<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title>test</title> <script type="text/javascript"> function showdialog(){ window.showModalDialog("photo3.html"); } </script></head><body> <input type="button" onclick="showdialog();"value="showdialog"></body></html>photo3.html<script>document.write("111<br>");document.write("222<br>");document.write("333<br>");</script> 毋庸置疑document.writeln("你要写的内容"); fck样式问题 正则表达式问题(在线等) JavaScript怎么链接数据库 !!!!!!!找错!!!!!!!! dropdownlist的联动问题 数据库所建的rs对象在javascrip语言中是怎样建立的? fso怎么存储Unicode格式的文件???要求有事例!!马上给上100分 急!!!用代码怎样来自动对浏览到的图片自动按比例进行缩放?? 求助:动态select下拉框. 谁能告诉我 求一段简单的JS代码 鼠标滚轮冒泡的问题,当2个模拟滚动条重叠时
http://blog.csdn.net/birdme007/archive/2007/09/24/1798234.aspx
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test</title>
<script type="text/javascript">
function showdialog(){
window.showModalDialog("photo3.html");
}
</script>
</head>
<body>
<input type="button" onclick="showdialog();"value="showdialog">
</body>
</html>
photo3.html
<script>
document.write("111<br>");
document.write("222<br>");
document.write("333<br>");
</script>
document.writeln("你要写的内容");