NOTE* I'm aware there is another question concerning this issue, however that question is specific for the other users issue. I'm looking for a way to drill into this error and find the issue.
Im getting this Type Error:
Uncaught TypeError: ((x.event.special[i.origType] || (intermediate value)).handle || i.handler).apply is not a function
On keypress in a particular text area. Here is the code for the Jquery Keypress
$(document).on('keypress', '#NewComment', function() {
$(this).removeClass('ErrorBorder');
$('.btn-Submit-Comment').prop("disabled", false);
});
I've checked firefox dev tools and this is the only Jquery function bound to the #NewComment
text area.
If i comment out the keypress im still getting this Type Error? Any suggestions on how to dig further into this error to find whats causing this. My current code base is 1.5+ million lines of code.
This error is thrown when any key is pressed within the textarea