I have a return false as part of my if statement and my form is still submitting.
Here is the simple example. Any suggestions?
if(msg != ""){
alert(msg);
return false;
}else{
//submit the form
}
Here is the simple example. Any suggestions?
if(msg != ""){
alert(msg);
return false;
}else{
//submit the form
}
Comment