I am currently using $ .blur (fn ();) to validate the form, but this only works when the form field loses focus. Is there a way to do this when I press a key to get real-time confirmation? I suppose I could use "polling all the fields every second," but I'm sure there should be a more elegant way?
source
share