javascript - jquery submit event and return false -
Hi, I check the blank field in the form and warn the user. But this user posts a warning when I warn the user that I can not return the page to refresh
$ ('# loginAccount'). Submit (function () {$ (this) .find (': input: text'). (Function (i) {if ($ (this) .val () == "") {// alerts ($ ('Label'). Eq (i) .html ()) $ ('# Alert3') .html ('Please fill in all fields.'); Return;}}}}});
You are currently returning from each of you There is a need to do this, it is a track that it is valid and will then return that value back to your submission.
Comments
Post a Comment