2015年9月19日
摘要: 1、load() load()方法是jquery中最简单和常用的Ajax方法,能载入远程html代码并插入到DOM中,结构为load( url [, data] [, callback]); 参数名称 类型 说明 url String 请求HTML页面的url地址data(可选... 阅读全文
posted @ 2015-09-19 18:19 月落无声 阅读(476) 评论(0) 推荐(0) 编辑
摘要: 字体单位:rem@charset "utf-8";/* *create by chengkun 19/9/2015. *version 1.0. *Reset the browser default style.*//* 设置盒模型样式 */* { box-sizing: b... 阅读全文
posted @ 2015-09-19 17:44 月落无声 阅读(538) 评论(0) 推荐(0) 编辑
摘要: 使用前在页面中引入下面的代码/*! * jQuery Cookie Plugin v1.4.1 * https://github.com/carhartl/jquery-cookie * * Copyright 2006, 2014 Klaus Hartl * Released under the ... 阅读全文
posted @ 2015-09-19 16:12 月落无声 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 一、js cookie 使用时把此段代码引入页面(function (factory) { if (typeof define === 'function' && define.amd) { define(factory); } else if (typeof expor... 阅读全文
posted @ 2015-09-19 15:31 月落无声 阅读(1423) 评论(0) 推荐(0) 编辑