Getting click on item to open closest relevant element (popup) with jQuery
You are facing this issue because all your popup container divisions have the same id and all the popup open can close buttons are targeting the same id. Change your code as follow: <td> <h4>Alert #1</h4> <a href=”#” class=”open-alert-popup” data-id=”popup_alerts_1″ data-animation=”flipAlertsRight”>Open Button</a> <!- below div is hidden till above link is clicked -> <div id=”popup_alerts_1″ … Read more