摘要: 1 (function ($) { 2 $.fn.getData = function (itemTag) { 3 var obj; 4 if (itemTag) { 5 obj = []; 6 this.find(itemTag).each(function () { 7 obj.push($(this).getData()); 8 }); 9 return obj;10 }11 else {... 阅读全文
posted @ 2013-01-24 19:46 Joe·Zhou 阅读(605) 评论(0) 推荐(0)