custombox icon indicating copy to clipboard operation
custombox copied to clipboard

Target property from jQuery seleced element object.

Open stelasido opened this issue 5 years ago • 0 comments

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.

stelasido avatar Jul 13 '19 13:07 stelasido