/ Published in: jQuery
Check if passwords are the same on submit.
Expand |
Embed | Plain Text
jQuery('#register form').submit(function(event) { if(jQuery('#password_2').val() != jQuery('#confirmpassword_2').val()) event.preventDefault() });
You need to login to post a comment.
