How to control to specify the second button with different id using jQuery?
There are two buttons. I need with Ajax in another button to get the data-id of the other button.
Simply get the parameter in the button so
var name = $(this).data('name');
But how to get parameter from another button?
asked June 7th 19 at 14:59
Find more questions by tags jQuery