为什么老说我缺少';'号 掉了一条:点取“submit"按钮后,说缺少对象 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 1.fucntion==>function2.document.MyForm.text.value;==>document.MyForm.text1.value;3.missing two pairs of {}4. try the following:<html><head><script language="JavaScript"> function check() { var MyValue=document.MyForm.text1.value; if(MyValue<'z'&&MyValue>'a') { alert("you input:"+'MyValue'); return true; } else { alert("please input again!"); return false; } } </script></head><body><form name="MyForm" method="POST" onsubmit=check()><h3>This is a sumbit experience:</h3><p>please input a letter between a and z:</p><input type="text" name="text1" value='a' size="10"><input type="submit"></form></body></html> var MyValue=document.MyForm.text.value;=》var MyValue=document.MyForm.text1.value;改这句 获取用户本机ip信息。。。 jquery ajax同步提交的问题 有没有直接获取页面元素绝对位置的js函数 广告弹出消失问题 运行这段代码但是不显示结果 如何判断一个网页iframe上的onclick事件??document.onlick进不去!! JS能不能实现 客户端向服务器上传文件 javascript中的$("#TopFrame")代表什么意思 ? javascript 如何自动转换为###,###,##0.00格式 这个如何同时刷新两个页面?? JavaScript如何获取URL信息? 请帮看看我的代码错在哪里?
==>
function2.document.MyForm.text.value;
==>
document.MyForm.text1.value;3.missing two pairs of {}4. try the following:<html>
<head>
<script language="JavaScript">
function check()
{
var MyValue=document.MyForm.text1.value;
if(MyValue<'z'&&MyValue>'a')
{ alert("you input:"+'MyValue');
return true;
}
else
{
alert("please input again!");
return false;
}
}
</script>
</head>
<body>
<form name="MyForm" method="POST" onsubmit=check()>
<h3>This is a sumbit experience:</h3>
<p>please input a letter between a and z:</p>
<input type="text" name="text1" value='a' size="10">
<input type="submit">
</form>
</body>
</html>
=》
var MyValue=document.MyForm.text1.value;
改这句