Error!
Success!

Creating a non-Native jQuery event that returns a value

0
kicks

Creating a non-Native jQuery event that returns a value  (Unpublished)

Today I had the need to create a custom event using jQuery, in order to launch a customized form validation event from a global submit event. I did this so I could focus in on the first form field that had an error. But I needed something more than the standard bind() and trigger() that jQuery offers because I needed the validation event to return true or false based on if the form validated or not. So this is what I came up with...


Kicked By:
Drop Kicked By: