I go through all the inputs of the form and perform some actions on them:
var form = $(this).closest('form'); form.find('input:visible').each(function (e, input) { } I need to perform a specific action for input which is under focus. How to register it?