jQuery 插件-(初體驗一)

1.jquery有2個擴展方法:html jquery.fn.extend=jquery.prototype.extend jquery.extend (二者的區別放在後面文章說)jquery 2.具體實例結構:app //建立及時做用域 (function ($) { // 經過字面量創造一個對象,存儲咱們須要的共有方法 var methods = { inint: function (
相關文章
相關標籤/搜索