Closed alareau closed 13 years ago
on the jquery site and this one, you have the following documentation.
All forms in the page will be observed Whenever an input value changes it will get the 'forever_changes' class added to it
$(function(){ $("form").dirty_form({changeClass: "forever_changes"}); });
should it not be changedClass instead of changeClass
or the code could be changed
from DirtyForm: { debug : false, // print out debug info? works best with firebug. changedClass : 'changed',
to
DirtyForm: { debug : false, // print out debug info? works best with firebug. changeClass : 'changed',
Nice catch. I'll update the documentation. Sorry for the confusion.
on the jquery site and this one, you have the following documentation.
All forms in the page will be observed Whenever an input value changes it will get the 'forever_changes' class added to it
$(function(){ $("form").dirty_form({changeClass: "forever_changes"}); });
should it not be changedClass instead of changeClass
or the code could be changed
from DirtyForm: { debug : false, // print out debug info? works best with firebug. changedClass : 'changed',
to