I am having an issue with event triggering on a <a>
tag. The alert doesn't show when it is clicked.
$('.thb-audio-wrapper #fap-play-pause').on("click",function(){ alert('hello'); });
答案 0 :(得分:0)
尝试使用:
$('.thb-audio-wrapper').on("click", '#fap-play-pause' ,function(){ alert('hello'); });