0
点赞
收藏
分享

微信扫一扫

jquery中绑定点击事件

践行数据分析 2023-05-11 阅读 63

$("body").on("click",".tab-contentBox td",function(){};
$(".tab-content td").on("click",function(){};
$("#template").click(function(e){};
假如绑定之后,仍然没有反应,则放在函数中
$(function () {
$(".tab-content td").on("click",function(){};
}

举报

相关推荐

0 条评论