随笔分类 - JQuery
摘要:var hasPointerEvents = (function() { var el = document.createElement('div'), docEl = document.documentElement; if (!('p...
阅读全文
摘要:JavaScript笔记:构造函数 用this.XX = XX这种调用时候必须new实例化进行属性访问:构造原型函数的时候XX.prototype={}里面类似json格式定义参数属性,调用方法和构造函数相同,用constructor:XX让字面量实例化强制指向实例化对象。:继承:构造函数进行属性继...
阅读全文
摘要:Cookie下载地址: http://plugins.jquery.com/project/cookie. //引入jQuery与jQuery.Cookie.js插件。if(this.checked){ $.cookie(COOKIE_NAME, $("#username")....
阅读全文

浙公网安备 33010602011771号