Skip to content
Advertisement

Tag: jquery-confirm

Editing form with jquery-confirm

I’m using jquery-confirm, and I need to capture the name of the element which i clicked to edit. jQuery and jQuery-confirm PHP SCRIPT Obs: Where It’s written “$ Name of the product”, should appear the name of each product that I click. Answer You can use this.$target to get a tag which is clicked then using .closest(‘tr’).find(‘td:eq(0)’).text() get first td

Advertisement