合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
## 创建文件 MyjQuery ``` $myjq = function(){ alert("hello,myjQuery") } (不推荐使用) $.fn.myjq = function(){ $(this).text("hello") } ``` ## 引入文件 ``` <script src="MyjQuery.js"></script> ``` ## 使用文件 ``` <div></div> <script> $(document).ready(function(){ $myjq() $("div").myjq() }) </script> ```