asp如何让文本框输入的类型只能为数值?
varpopUpWin=0;functionshowModWin(URLStr,width,height,winname,left,top){varleft=(left=...
var popUpWin=0;
function showModWin(URLStr,width, height, winname,left, top)
{
var left = (left==''||left==null)?(screen.width/2) - width/2:left;
var top = (top==''||top==null)?(screen.height/2) - height/2:top;
if(popUpWin)
{
if(!popUpWin.closed) popUpWin.close();
}
var winnames = (winname=='')?'popUpWin':winname;
popUpWin = window.showModalDialog(URLStr,
"","help:0;resizable:0;status=0;scrollbars=0;dialogWidth:"+width+"px;dialogHeight:"+height+"px;center=true");
}
还有这个谁可以帮忙解释下 展开
function showModWin(URLStr,width, height, winname,left, top)
{
var left = (left==''||left==null)?(screen.width/2) - width/2:left;
var top = (top==''||top==null)?(screen.height/2) - height/2:top;
if(popUpWin)
{
if(!popUpWin.closed) popUpWin.close();
}
var winnames = (winname=='')?'popUpWin':winname;
popUpWin = window.showModalDialog(URLStr,
"","help:0;resizable:0;status=0;scrollbars=0;dialogWidth:"+width+"px;dialogHeight:"+height+"px;center=true");
}
还有这个谁可以帮忙解释下 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询