Answers for "detecter un click sur un bouton en jquery"

0

detecter un click sur un bouton en jquery

$(document).ready(function() { $( "form" ).submit(function () { // Get the submit button element var btn = $(this).find("input[type=submit]:focus" ); }); }
Posted by: Guest on November-12-2020
0

detecter un click sur un bouton en jquery

$(form).submit(function(e){ // Get the button that was clicked var submit = $(this.id).context.activeElement; // You can get its name like this alert(submit.name) // You can get its atsortingbutes like this too alert($(submit).attr('class')) });
Posted by: Guest on November-12-2020

Code answers related to "detecter un click sur un bouton en jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language