Return to Snippet

Revision: 41436
at February 18, 2011 00:51 by vagrantradio


Initial Code
jQuery('#register form').submit(function(event) {
  if(jQuery('#password_2').val() != jQuery('#confirmpassword_2').val()) event.preventDefault()
});

Initial URL


Initial Description
Check if passwords are the same on submit.

Initial Title
jQuery Match Password

Initial Tags


Initial Language
jQuery