Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target property from jQuery seleced element object. #291

Open
stelasido opened this issue Jul 13, 2019 · 0 comments
Open

Target property from jQuery seleced element object. #291

stelasido opened this issue Jul 13, 2019 · 0 comments

Comments

@stelasido
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant