Forum: Ruby on Rails get in focusin binding function

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Arthur C. (Guest)
on 2008-12-05 09:21
I am fixing a problem in jQuery.Validator.js. I have to get the current
input in the 'onfocusin'.

It seems that the "" 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 here?


This topic is locked and can not be replied to.