jquery中绑定点击事件

$("body").on("click",".tab-contentBox td",function(){};

$(".tab-content td").on("click",function(){};

$("#template").click(function(e){};

假如绑定之后,仍然没有反应,则放在函数中

$(function () {

$(".tab-content td").on("click",function(){};

}

posted @ 2017-07-19 15:34  ppjj  阅读(388)  评论(0编辑  收藏  举报