[jQuery] simple form validation

[jQuery] simple form validation

Ahoy,
While working on my project I put together this form validation example
to show how you can do browser validation & jquery validation together
and make nice pretty forms w/ it.
a few functions in the ready are like this:
$("input[@class=validated]").blur(function() {
$(this).validate();
});
$("#confirmpass").blur(function() {
$(this).match({match: '#password', error: '#confirmpass_li'});
});
$("#password").keyup(function() {
$(this).copyTo("#password_copy","value");
});
http://www.willjessup.com/sandbox/jquery/form_validator/form_validate.html
thanks John for the copyTo function.
Feel free to grab the code.
Will
--
|||||||||||||||||||||||||||||||||||
Will Jessup
c. 760 807 0850
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/