function Button1_onclick()
{
var returnValue = window.showModalDialog("oa_fileshare.aspx","网页弹出对话框","dialogwidth:300px;dialogheight:350px;center:yes;status:no;scroll:yes;help:no;resizable:no;");
}但是oa_fileshare.aspx这个页面里的事件触发不了,怎么解决。附:autopostback属性设为true了。
{
var returnValue = window.showModalDialog("oa_fileshare.aspx","网页弹出对话框","dialogwidth:300px;dialogheight:350px;center:yes;status:no;scroll:yes;help:no;resizable:no;");
}但是oa_fileshare.aspx这个页面里的事件触发不了,怎么解决。附:autopostback属性设为true了。
name="Button1" language=javascript onclick="return Button1_onclick()">
<head runat="server">
<title>无标题页</title>
<script>
function Button1_onclick()
{
var returnValue = window.showModalDialog("oa_fileshare.aspx","网页弹出对话框","dialogwidth:300px;dialogheight:350px;center:yes;status:no;scroll:yes;help:no;resizable:no;");
}
</script>
</head>
<body style="padding:0px;margin:0px;">
<form id="form1" runat="server">
<input id="Button1" type="button" value="button" onclick="Button1_Click" />
</form>
</body>
</html>
{
window.open("oa_fileshare.aspx","网页弹出对话框","dialogwidth:300px;dialogheight:350px;center:yes;status:no;scroll:yes;help:no;resizable:no;");
}
<base target="_self" />