akzhan/jquery-keyfilter — Issue #3: include in keypress subcribtion function with source element parameter.
Author: slavapvf
Created: 2012-01-27 08:57:47+00:00
State: open

Hi,
I have a lot of elements with chstom attributes, i subscribe keypress in one function, but i don't know which control fires this event, it would be nice ti send also source control:

if ($.isFunction(re))
{
ok = re.call(this, cc, add control or even e there);
}
else
{
ok = re.test(cc);
}