I started with the following code to send the ID to a method to delete an object of model.But the first ID is always sent.
this is my HTML and JavaScript code:
<