摘要: Array.prototype.del=function(n) { //n表示第几项,从0开始算起。 //prototype为对象原型,注意这里为对象增加自定义方法的方法。 if(n<0){//如果n<0,则不进行任何操作。 return this; }else{ return this.slice 阅读全文
posted @ 2017-07-19 21:48 ppjj 阅读(209) 评论(0) 推荐(0) 编辑
摘要: $("body").on("click",".tab-contentBox td",function(){}; $(".tab-content td").on("click",function(){}; $("#template").click(function(e){}; 假如绑定之后,仍然没有反 阅读全文
posted @ 2017-07-19 15:34 ppjj 阅读(388) 评论(0) 推荐(0) 编辑