Skip to main content
1 of 2
KARTHI SRV
  • 499
  • 4
  • 20

You can differentiate the each edit button by using unique id

<button class='edit' data-id="<?php echo $_GET["id"];?>"> EDIT</button>. 

While click on the edit button, read the data-id by using following code

$(document).on('click', '.edit', function(){ var id = $(this).attr('data-id'); //code - you need to do }) 
KARTHI SRV
  • 499
  • 4
  • 20