jq闭包

 var jy = jQuery.noConflict();
(function($){
//里面跟jq的所有代码
})(jy) 
原文地址:https://www.cnblogs.com/nowphp/p/5859519.html