Get event.target in focusin binding function

I am fixing a problem in jQuery.Validator.js. I have to get the current
input in the ‘onfocusin’.

It seems that the “event.target” is what I needed.

But how can I get the event object in the follwing binding function?

$.extend($.validator, { defaults: { ...... onfocusin: function(element) { // how to get event.target here? ...... } }

Thanks!
Arthur

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs