日期:2014-05-16  浏览次数:20295 次

js开发问题积累

window 关闭最好用destroy 不要用close 因为dom里面会缓存 这样如果刷新tab的话 window会越来越多

case 'destroy':
return this.each(function(){
$(this).panel('destroy', param);
});

?