taavo/client_side_validations — comment on commit f402dad7e3739a91cd2efe9b44e963fbfc346965
File:  line 0
By taavo:

Easiest to follow it in a debugger. Long story short, jqXHR.currentTarget will always be the object you added this listener to (the client side validated form). jqXHR.target is the element that triggered the event. If it's a submission of the form itself, they should be the same, and if it's an unrelated ajax event it'll be the element whose handler triggered the ajax.

Thanks, and let me know what else I can do.