关于js打开窗口的问题 顺便说明下,我是在IE7下出现这样的问题。但是在别的电脑上一样的程序,ie6\ie7却都没问题.不知道是什么原因哦. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 IE 6 sp2 调试通过1.html<!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><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>默认标题 by songpeng</title><script language="JavaScript" type="text/javascript">function btnClick(){ window.showModalDialog("2.html");}</script></head><body><form>1.html<input type = "button" onclick = "javascript:btnClick();" value = "按钮" /></form></body></html>2.html<!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><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>默认标题 by songpeng</title><script language="JavaScript" type="text/javascript">function btnClick(){ window.open("http://www.baidu.com");}</script></head><body><form>2.html<input type = "button" onclick = "javascript:btnClick();" value = "打开百度" /></form></body></html> 重新注册 C:\WINDOWS\system32\jscript.dll对IE7不熟 报JS错误:No such interface supported. 报JS错误:没有如此的接口支援。查下你的ie的设置配置情况! 求一个浏览器弹出窗口自动确认程序! extjs3.2升级对原项目是否有影响 weebox显示问题 重新设置table内容后tablesorter要怎么写? /(<p[^>]*>)|(<[^>]p>)/gi正则表达式是什么意思 求哥JS高手帮我扣一个模块 如何用javascript去掉字符串里的所有空格?? document.body.onclick=dowhat;这个单击事件在VBSCript里应该怎么写呢? 道上的朋友们!告诉我阿信的主页地址好么? 一个简单的JAVASCRIPT问题! 在修改网页中出现这个错误应该怎么解觉呢 js操作后GIF就不动了
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>默认标题 by songpeng</title>
<script language="JavaScript" type="text/javascript">
function btnClick()
{
window.showModalDialog("2.html");
}
</script>
</head><body>
<form>
1.html
<input type = "button" onclick = "javascript:btnClick();" value = "按钮" />
</form>
</body>
</html>
2.html
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>默认标题 by songpeng</title>
<script language="JavaScript" type="text/javascript">
function btnClick()
{
window.open("http://www.baidu.com");
}
</script>
</head><body>
<form>
2.html
<input type = "button" onclick = "javascript:btnClick();" value = "打开百度" />
</form>
</body>
</html>
查下你的ie的设置配置情况!