(【紧急求助】)onserverclick和onclick一起使用的时候的问题
onserverclick和onclick一起使用的时候,我在onserverclick写了个js验证,return false了,可是我怎么让onserverclick不执行
<script type= "text/javascript ">
function bankCheck()
{
bankNO=form1.TextBoxBankAcount.value;
bankSelect=form1.DropDownList3.value;
if(bankNO!= " ")
{
if(bankSelect==-1)
{
alert( "请您先选择银行! ");
form1.DropDownList3.focus();
return true;
}
}
}
</script>
<input type= "submit " name= "Submit " value= "修改 " id= "Submit1 " runat= "server " onserverclick= "Submit1_ServerClick " onclick= "bankCheck(); ">
------解决方案--------------------jf