<IMG id= "define " style= "CURSOR: hand " onclick= "javascript:define(); " src= "../../image/define.gif " name= "define ">
define函数的定义如下:
function define()
{
var str=window.showModalDialog( "mypath.aspx ",window, "status:no;center:yes;scroll:no;resizable:no;help:no;dialogWidth:640px;dialogHeight:480px ");
}
但点击后没有反应,浏览器提示“对象不支持此方法和属性”
------解决方案--------------------------------------------------------
"javascript:define(); "
=======
把javascript去掉试试
还有你确定下你的那个window.showModalDialog是否写对了,去网上GO下看看