JS : $(document).ready(function() { $(".elt").mouseenter(function() { console.log($(this).attr('val')); }); }) 我理解问题是事件与类属性相关联,因此每个类都会 ...
確定! 回上一頁