if($(obj).attr("onclick")!=undefined&&$(obj).attr("onclick").length>0){
//含有
}else if($(obj).attr("onchange")!=undefined&&$(obj).attr("onchange").length>0){
}else{
}
判断标签是否绑定onclick,onchange事件
猜你喜欢
转载自www.cnblogs.com/moonlignt/p/9233817.html
今日推荐
周排行