码迷,mamicode.com
首页 > Web开发 > 详细

jquery封装

时间:2015-04-16 11:50:06      阅读:127      评论:0      收藏:0      [点我收藏+]

标签:

var showLog = (function($){
   function aaa(){
       alert(1233444444);
   }
   aaa.show = function(){
       alert(123)   
   }
   aaa.alert = function(){
       alert(234);
   }  
   return aaa;
})(jQuery)
showLog.show();
simpleDialog.show() && simpleDialog.destroy();
if(simpleDialog.show()){
   simpleDialog.show()
}

 

jquery封装

标签:

原文地址:http://www.cnblogs.com/lcx90/p/4431179.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!