javascript:
<script type="javascript">
function openDialog(url, height, width)
{
var returnString;
var obj = Form1;
returnString = window.showModalDialog(url, obj,'dialogHeight:'+height+'px;dialogWidth:'+width+'px;edge:Raised;center:Yes;help:Yes;resizable:No;status:No;scroll:Yes');
return returnString;
}
</script>引用:
<input onclick="return openDialog('productdetails.aspx','300','550');"
class="button" type="button" value="..." />请高手看看,哪里由错!
<script type="javascript">
function openDialog(url, height, width)
{
var returnString;
var obj = Form1;
returnString = window.showModalDialog(url, obj,'dialogHeight:'+height+'px;dialogWidth:'+width+'px;edge:Raised;center:Yes;help:Yes;resizable:No;status:No;scroll:Yes');
return returnString;
}
</script>引用:
<input onclick="return openDialog('productdetails.aspx','300','550');"
class="button" type="button" value="..." />请高手看看,哪里由错!
解决方案 »
- JQuery问题
- Response.Write("<script>alert('XXXX!');</script>")无法弹出
- 自己做小网站(ACCESS数据库)是先做后台,还是先做前台?
- Visual Web Developer 2005中为什么XHTML 1.0 Strict验证?
- 急!!!!!!一个小算法问题!!!!!!!
- 请各位大虾,帮忙!万分感激....
- 怪事 按钮单击事件没反映 放到同一页面另一个表格里就有反映 不知道什么原因 不知道谁碰到过这样的问题 郁闷了
- 求救!!!
- 哪里有vs.net工具下载?
- Asp.Net 2.0 中 Repeater 控件的嵌套使用问题, 求助!
- asp.net 2.0 cache 怎么操作
- 在WEB中用FORMS认证,在登录页面中(还未进行认证)怎么访问其他资源?
而不是type
------说错了莫怪。