一个函数的问题
tbaep 2002-01-07 11:28:52 在一个asp文件调用两个函数:
if (theForm.line_no.value == "")
{
alert("请输入专线号。");
theForm.line_no.focus();
return (false);
}
if (!IsDigit(theForm.line_no.value))
{
alert("专线号请输入数字。");
theForm.line_no.focus();
return (false);
}
前面的if (theForm.line_no.value == "")执行OK
但是执行到if (!IsDigit(theForm.line_no.value))
时出错,提示缺少对象,请各位指教