A little bit of context:
I\'m using the jQuery Validation plugin to validate a sign-up form. I now want to implement an ajax call to check whether t
This worked for me on JQuery 1.11
$("#userName").keyup(function () { if ($(this)[0].validity.valid) { // AJAX here } });