JavaScript exit method -


I have a javascript method that I want to validate a form

if verification fails If (validation check ......) {return warning ("message")} and {// forward}

What I am doing though, if the form still seems to be submitted, then any thoughts?

You should return false after checking verification.

  If (verification check ......) {warning ("message") false return; } Other {// procced}  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -