Skip to content

include in keypress subcribtion function with source element parameter. #3

@slavapvf

Description

@slavapvf

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);
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions