Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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')) }); 
Source by www.ipgirl.com #
 
PREVIOUS NEXT
Tagged: #detecter #click #sur #bouton #en #jquery
ADD COMMENT
Topic
Name
7+2 =