This is a suggestion/enhancement that didn't warrant a fork and merge and doesn't fix a bug or error. At the end of the processData and processError functions, you trigger events that can be used to notify the application when data is processed or and error occurs. My suggestion is to modify the code to trigger the event on the element itself instead of document. The code currently looks like this:
This is a suggestion/enhancement that didn't warrant a fork and merge and doesn't fix a bug or error. At the end of the processData and processError functions, you trigger events that can be used to notify the application when data is processed or and error occurs. My suggestion is to modify the code to trigger the event on the element itself instead of document. The code currently looks like this:
I would recommend that it look like this:
That way when I bind to it I can get events on my specific form or anchor that's posting back like this:
The current approach is functional, but I believe that the approach I am presenting is more in the spirit of jQuery and bootstrap.
Thank you for your consideration.