Skip to content

Target property from jQuery seleced element object. #291

@stelasido

Description

@stelasido

Hi, is there a way instead target: '#element' to use:
var modalCont = $('.selector');....target: modalCont , because my modals are generated by a server and there are many buttons attached to specific modal each. I can't identify them (which button for which modal is) and need to use jQuery selector from the event element ($(this).next('.modal-cont')), where this is the button with the click event.

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