$(document).on(" 事件","选择器",执行函数);eg:$(document).on("click","div",function(){console.log("添加了点击事件")})
知识汇总01~jq动态创建标签添加事件
猜你喜欢
转载自www.cnblogs.com/sunshineForFuture/p/9341890.html
今日推荐
周排行