Skip to content

No click or focus event on tagEditor #91

@NaijaProgrammer

Description

@NaijaProgrammer

Hey, I am attempting to invoke a callback function when the tag editor field receives the focus, but for some reason the below code is not working:

//try onclick
$(".tag-editor").on("click", function () {
   //invoke_click_listener();
});

//try onfocus
$(".tag-editor").on("focus", function () {
   //invoke_focus_listener();
});

How do I detect when the editor (or its container) gets a click or receives focus?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions