$(document).on('click','#childSelector',function(){
console.log(event.target);
})
#childSelector{
cursor:pointer
}
给事件源添加cursor:pointer样式即可!
$(document).on('click','#childSelector',function(){
console.log(event.target);
})
#childSelector{
cursor:pointer
}
给事件源添加cursor:pointer样式即可!
本文标题:IOS设备js点击事件失效
本文链接:https://www.haomeiwen.com/subject/qrmzvctx.html
网友评论