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.