📜  检测器 un click sur un bouton en jquery - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:55.548000             🧑  作者: Mango

代码示例2
$(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')) });