jQuery基础----23jQuery扩展-jQuery扩展
来源:互联网 发布:西城区2016年经济数据 编辑:程序博客网 时间:2024/06/11 09:18
<!DOCTYPE html><!--jQuery扩展-jQuery扩展--><html><head lang="en"> <meta charset="UTF-8"> <title></title> <script src="jquery-2.1.4.min.js"></script> <!--引入扩展的jquery文件--> <script src="js03_03.js"></script> <script src="js03.js"></script></head><body> <div></div></body></html>
js1:
/** * Created by hao on 2015/8/16. */$(document).ready(function(){ //$.myjq(); $("div").myjq();})js2:/** * Created by hao on 2015/8/16. *///扩展jquery的js文件$.myjq=function(){ alert("扩展文件。。。。。。")}$.fn.myjq=function(){ $(this).text("另一种扩展方式。。。。。。");}
0 0
- jQuery基础----23jQuery扩展-jQuery扩展
- JQuery 扩展
- jquery扩展
- jquery 扩展
- jquery 扩展
- Jquery 扩展
- jquery扩展
- jquery扩展
- Jquery扩展
- jquery扩展
- jQuery扩展
- jQuery扩展
- jQuery基础----24jQuery扩展-noConflict
- 扩展jQuery读书笔记:第一章,jQuery扩展
- jquery extend jquery插件扩展
- jquery扩展--编写jQuery插件
- JavaScript基础之JQuery的扩展
- jquery自定义扩展方法
- 【Django】上传图片之路径问题
- PS------裁剪工具的使用
- 用NAN简化Google V8 JS引擎的扩展
- jQuery基础----21jQuery AJAX-异步访问
- jQuery基础----22jQuery AJAX-加载片段
- jQuery基础----23jQuery扩展-jQuery扩展
- jQuery基础----24jQuery扩展-noConflict
- Spring学习笔记-springMVC基于注解的控制器(Demo)
- 寻找志同道合的伙伴
- WeakReference与SoftReference
- Confuse about hkQuaternion and hkRotation
- GPIO Interfaces
- Ogre+Havok研究------一、框架搭建
- 浙江大学PAT_甲级_1015. Reversible Primes (20)