0
I have two buttons on my page that serve to delete users, one I put at the top of the table where displays users along with paging and the other at the bottom, also along with paging. I put so to facilitate user navigation, but my jquery function that is triggered by the event click of this button, only works with the button at the top, if I put the buttons with different ids and two separate functions for each they work, but wanted a method that fit both.
//A função está mais ou menos assim
$("#deletar").click(function(){
//Faz algo aqui
}
I tested a few jquery selectors, but was unsuccessful.