AJAX 学习笔记--patter
2013-04-10 14:46
176 查看
1.) DoSomethingLocal is defined as $.fn.DoSomethingLocal. You can add as many custom functions to the jQuery.fn (or simply $.fn) object as required by your plugin implementation. Any function you add to the $.fn object is assumed to work on references to an instance of an element/object that was selected. This is what the $.fn syntax means - we are simply adding a custom interface to a jQuery object that assumes selected elements.
2.) DoSomethingGlobal is applied directly to the global jQuery object as $.DoSomethingGlobal. A function attached to the jQuery framework in such way assumes that it will not work on selected elements but rather it will work in the global scope and contain practically any implementation.
2.) DoSomethingGlobal is applied directly to the global jQuery object as $.DoSomethingGlobal. A function attached to the jQuery framework in such way assumes that it will not work on selected elements but rather it will work in the global scope and contain practically any implementation.
相关文章推荐
- 学习笔记——关于Ajax
- Javascript学习笔记12——Ajax入门
- Ajax学习笔记-三级联动
- AjaxToolKit学习笔记 之 TextBoxWatermark
- ASP.Net MVC开发基础学习笔记(4):校验、AJAX与过滤器
- 前端学习笔记--AJAX的使用(一)
- jQuery学习笔记之Ajax用法详解
- 学习笔记之 VS2008(Ajax)
- ASP.Net MVC开发基础学习笔记(4):校验、AJAX与过滤器
- ASP.Net MVC开发基础学习笔记:四、校验、AJAX与过滤器
- ajax学习笔记,思维图。
- Ajax学习笔记 0
- HTML5学习笔记(二十七):Ajax
- 【AJAX学习笔记】JSON数据编码解码技术
- Ajax学习笔记---3种Ajax的实现方法【推荐】
- [ajax 学习笔记] ajax初试
- MonoRail学习笔记十六:AJax在MonoRail中的使用
- jQuery学习笔记(7)——AJAX
- 【知了堂学习笔记】_Ajax基础知识
- AJAX IN ACTION 学习笔记(三)