jQuery 使用记录
文章说明
因主要工作为数据可视化、jQuery 具有良好的选择操作优势,不尽如此,jQuery兼容IE8 等多版本多种类浏览器。
jQuery 的API 很多,现在将常用的 方法做简短的记录;
jQuery API
对动态添加的标签 绑定点击事件
//$(selector).delegate(childSelector,event,data,function)
jQuery('#id').deletage('.class','click',func A);
//jQuery1.8<=
//$(selector).live(event,data,function)
//$(selector).on(event,childSelector,data,function,map)
//有点问题》》我在google上并不能实现,暂放★
$('#id').on('click','.class',data,function A,map);