用showModalDialog框
例:
retvar=window.showModalDialog("new.htm");
例:
retvar=window.showModalDialog("new.htm");
解决方案 »
- 我想使用JQ183,征求意见
- iframe编辑状态的切换
- 求一段关于控制textarea内容的代码
- 包含了jQuery以后,页面原有的的js有的失效了
- document.getElementById("LinkButton1").onclick=aa;javascript问题 高手 看看 (急)=
- 初学者问题简单:以下函数中用到的top/LocalValue/parent.opener/ob.Tax分别是什么东西?如何使用的?
- WEB开发中怎样调用本地资源?高难问题。
- 如何得到光标在INPUT(text)中的位置?我想确定光标是否在输入框中的字符串的开始或结尾。
- JS正则替换提取指定字符之间内容等
- 怎么强制javascript进行数值计算呢?
- 一个表单的下拉表的问题!
- 怎样实时显示表单(TextArea)中的文字字数
//打开一个模式对话框
//vArguments=需要向新开模式对话框传递的参数
//sFeatures=(*dialogHeight:sHeight;dialogLeft:sXPos;dialogTop:sYPos;dialogWidth:sWidth;center:{ yes | no | 1 | 0 | on | off };dialogHide:{ yes | no | 1 | 0 | on | off };edge:{ sunken | raised };help:{ yes | no | 1 | 0 | on | off };resizable:{ yes | no | 1 | 0 | on | off };scroll:{ yes | no | 1 | 0 | on | off };status:{ yes | no | 1 | 0 | on | off };unadorned:{ yes | no | 1 | 0 | on | off };*)
可以在这个窗口用window.location.href="modify.php"来在这个窗口显示modify.php的内容如果用showModalDialog呢?
怎样才能在这上面显示modify.php的内容呢?
嘻嘻....
<a href=# onclick="window.open('1.php','ads','width=200,height=100');return false;">asdf</a>