动态添加的元素绑定点击事件

$("#paging").on("click","td",function () { //其中#paging是已有元素
if($(this).children("a").length!=0){
openSon($(this).children("a")[0])
}
})

猜你喜欢

转载自www.cnblogs.com/fangyan1994/p/11240307.html
今日推荐