js
滕c
这个作者很懒,什么都没留下…
展开
-
js封装的MAP
function Map(){ this.init(); }; //map的大小 Map.prototype.size = function(){ return this._size; }; //将数据放入map中 Map.prototype.put = function(key,value){ if(!this.con原创 2013-09-06 14:53:48 · 1146 阅读 · 0 评论 -
js 相关问题
jq查看元素绑定了的事件 $._data($elem[0],'events') 1.8之后的版本时候的方法 obj.data('events'); 1.8之前使用的方法 textarea高度自适应自动增高展开 http://caibaojian.com/textarea-autoheight.html 核心代码: this.style.height = 'auto’; this...原创 2019-05-07 09:58:52 · 149 阅读 · 0 评论