I’m using the live() function to validate a form that is loaded using ajax, since it wont work without it.
Previously, my form validation was done onkeyup (although I never specified it anywhere). Now it works only when the user clicks the submit button. Is it possible to get my onkeyup validation back as well as retain the verify on submit when using the live() function?
$(".createBtn").live('click', function() {
$("#createAcc").validate({
I’m using the following plugin to do my verification.
bassistance.de/jquery-plugins/jquery-plugin-validation/
You can bind multiple events to the same element.. try this
Also .live() is deprecated as of the latest jQuery version..
I recommend using .on() instead..