关于验证文本框为空的问题? if(txt1.value==""&&txt2.value==""&&txt3.value==""&&txt4.value=="")alert("至少要一個不為空﹗﹗"); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head><body><input name=a><input name=b><input name=c><input name=d><input type=button value=test onclick="testFun();"></body></html><script>function testFun(){if(document.all.a.value+document.all.b.value+document.all.c.value+document.all.d.value=="")alert("Please input.");else alert("Submit");}</script> js数组问题 ext中如何给form添加背景图片?急!! jquery与gridview 寻EXT的模板,一般OA 或 ERP的界面模板 帮我解析一下意思 style="overflow: hidden; text-overflow: ellipsis;" 怎么不起作用?详细代码见内。 建了个技术群,拉淫啦,淫淫有粪....[处女主任] 请问:如何从客户端读取存放在客户端的数据库? dreamweaver中的代码提示有时候有,有时候没有,请问高手知道怎么回事吗? javascript 多国时钟 老问题,如何把F4键定义为表单提交的功能,既发送键? 如何将DATA转变为string? 3ks
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body>
<input name=a>
<input name=b>
<input name=c>
<input name=d>
<input type=button value=test onclick="testFun();">
</body></html>
<script>function testFun()
{
if(document.all.a.value+document.all.b.value+document.all.c.value+document.all.d.value=="")
alert("Please input.");
else
alert("Submit");
}</script>