if($("input[type=text name='registrationNo']").val()=="" ){
alert("Please input the registration No.");
return false;
}
错误 括号里面只能写一种
if($("input[name='registrationNo']").val()=="" ){
alert("Please input the registration No.");return false;
}
正确