前台:function showPODetail()
{
var MODE =document .getElementById("HIDBTNMODE").value;
var PONO=document .getElementById("TXTPONO").value;
var VDRCODE=document .getElementById("TXTVDRCODE").value;
var LOCCODE=document .getElementById("DPLSHIPLOC").value;
var ANSWER=confirm (document .getElementById ("HIDERROR").value );
if (ANSWER==true)
{
strholding = window.showModalDialog('PODetail.aspx?PONO='+PONO +"&HIDBTNMODE="+MODE +"&VDRCODE="+VDRCODE +"&LOCCODE="+LOCCODE ,'NEWSITEML', 'dialogWidth=800px;dialogHeight=600px;center=yes;help=no;status=yes');
var abc=strholding
}
}
后台: Protected Sub BTNSAVE_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BTNSAVE.Click
Page.RegisterStartupScript("onLoad ", " <script> showPODetail(); </script> ") End sub错误提示:对象不支持此属性或方法,:‘window.showModaldialog’
请各位多多指教
{
var MODE =document .getElementById("HIDBTNMODE").value;
var PONO=document .getElementById("TXTPONO").value;
var VDRCODE=document .getElementById("TXTVDRCODE").value;
var LOCCODE=document .getElementById("DPLSHIPLOC").value;
var ANSWER=confirm (document .getElementById ("HIDERROR").value );
if (ANSWER==true)
{
strholding = window.showModalDialog('PODetail.aspx?PONO='+PONO +"&HIDBTNMODE="+MODE +"&VDRCODE="+VDRCODE +"&LOCCODE="+LOCCODE ,'NEWSITEML', 'dialogWidth=800px;dialogHeight=600px;center=yes;help=no;status=yes');
var abc=strholding
}
}
后台: Protected Sub BTNSAVE_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BTNSAVE.Click
Page.RegisterStartupScript("onLoad ", " <script> showPODetail(); </script> ") End sub错误提示:对象不支持此属性或方法,:‘window.showModaldialog’
请各位多多指教
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货