javascript - Uncaught TypeError: Object #<error> has no method 'call' -


using jquery validate plugin, want show/hide error when element's blur event called, dont want show error message type. fix tried

$('#form').validate({     onfocusout: true,     onkeyup: false }); 

but click outside element throws error

uncaught typeerror: object #<error> has no method 'call'  

its onfocusout not onfoucusout, change to:

$('#form').validate({     onfocusout: function(element) { $(element).valid(); },     onkeyup: function(element) { $(element).valid(); } }); 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -