JS脚本无效,return false不起作用? <form action="dgxx_three.asp" method="post" name="myform" >//删除onSubmit事件<input type="submit" name="www" value="Next Step" onclick="check()"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><head><title>welcome to 3tgallery.com</title></head><body><table width="1004" border="0" align="center" cellpadding="0" cellspacing="0"><SCRIPT language=javascript>function check(a){if(a.content.value==""){alert("请选择发送对象.");a.content.focus();return false;}}</SCRIPT><form action="dgxx_three.asp" method="post" name="myform" onSubmit="return check(this);"><table width="100%" border="0" cellspacing="1" cellpadding="1"><tr><td><input type="text" name="content" value="" size="10"></td></tr><tr><td> <input type="submit" name="www" value="Next Step"></td></tr></table></form> </body></html> 如何动态移除js的引用 谁能帮我封装一下这个js方法 jquery 获取下面代码中的 ul-li -a 元素的id 值 有对xloadtree了解的吗 JS函数调用 正则表达式,验证时间. 请大家帮我把字节数组 byte[]还原成字符串. 高分求教!不够在加 请问如何同时触发两个<a href="abc.zip"></a>download? JAVASCRIPT 请教 各种时间表达式,怎么创建成Date对象? JavaScript数组定义
<head>
<title>welcome to 3tgallery.com</title>
</head>
<body>
<table width="1004" border="0" align="center" cellpadding="0" cellspacing="0">
<SCRIPT language=javascript>
function check(a){
if(a.content.value==""){
alert("请选择发送对象.");
a.content.focus();
return false;
}
}
</SCRIPT>
<form action="dgxx_three.asp" method="post" name="myform" onSubmit="return check(this);">
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr><td><input type="text" name="content" value="" size="10"></td></tr>
<tr><td> <input type="submit" name="www" value="Next Step"></td></tr>
</table>
</form>
</body>
</html>