摘要:
html: <input type="checkbox" id="" value="">菜单1 <input type="checkbox" id="" value="">菜单2 <input type="checkbox" id="" value="">菜单3 css: input[type="c 阅读全文
摘要:
;(function($,window,document,undefined){})(jQuery,window,doucment) 1.自调函数(function(){})() 2.好处是不会产生任何全局变量,提高性能或者兼容性。缺点是无法重复执行,适合只执行一次性或初始化的任务。 3.“;”分号 阅读全文