jQuery plugin validate() : apply plugin to ajax injected form
Posted
by pixelboy
on Stack Overflow
See other posts from Stack Overflow
or by pixelboy
Published on 2010-03-22T13:32:32Z
Indexed on
2010/03/22
13:41 UTC
Read the original article
Hit count: 400
My issue here is quite simple : i'm trying to use the jQuery validate plugin to a form that gets injected after certain user actions.
My problem mostly is that :
I could use live support to bind the change event over inputs, like this
$("#adresseLivraisonPro").live('change',function(e){ $("#adresseLivraisonPro").validate({
But this makes my form validated if and only if user changes inputs...
How would you surround that problem ?
© Stack Overflow or respective owner