更多"[判断题]FORM"的相关试题:
[判断题]. FORMAT命令可以快速删除硬盘分区。
A.正确
B.错误
[判断题]Good morning passengers,please form a queue and go through the security check and passport controlone by one.( ) (上册P115)
A.正确
B.错误
[单选题]Good morning passengers,please form a queue and go through the( ) one by one. (上册P115)
A.passport control and security check
B.security check and passport control
C.passport control and airline counter
D.security check and airline counter
[单选题]在表单(form1)中有一个文本框元素(fname),用于输入电话号码,格式如:010-82668155, 要求前 3 位是 010,紧接一个“-”,后面是 8 位数字。要求在提交表单时,根据上述条件验证该文本框中输入内容的有效性,下列语句中,( )能正确实现以上功能。
A.var str= form1.fname.value;
if(str.substr(0,4)!=”010-”|| str.substr(4).length!=8 || isNaN(parseFloat(str.substr(4)))) alert(“无效的电话号码!”);
B.var str= form1.fname.value;
if(str.substr(0,4)!=”010-” && str.substr(4).length!=8 && isNaN(parseFloat(str.substr(4)))) alert(“无效的电话号码!”);
C.var str= form1.fname.value;
if(str.substr(0,3)!=”010-”|| str.substr(3).length!=8 || isNaN(parseFloat(str.substr(3))))
alert(“无效的电话号码!”);
D.var str= form1.fname.value;
if(str.substr(0,4)!=”010-”&& str.substr(4).length!=8 &&
!isNaN(parseFloat(str.substr(4))))
alert(“无效的电话号码!”);