摘要: $.cookie('the_cookie'); // 读取 cookie$.cookie('the_cookie', 'the_value'); // 存储 cookie$.cookie('the_cookie', 'the_value', { expires: 7 }); // 存储一个带7天期限的 cookie$.cookie('the_cookie', '', { expires: -1 }); // 删除 cookie 使用JQuery.Cookie还是很方便的,就是有些行为 阅读全文
posted @ 2011-11-01 23:56 ShenJH.NET 阅读(165) 评论(0) 推荐(0) 编辑
摘要: jquery.browsertype-1.0.js/** * jQuery插件开发方法二:第一步:插件定义 */ jQuery.myPlugin = { //获得浏览器的内核与外壳的类型和版本 Client: function (){ //浏览器内核类型(只有五种) var engine = { ie:0, webkit:0, gecko:0, opera:0, khtml:0 }; //浏览器外壳类型(国内常见的浏览器有:360浏览器、傲游、腾讯QQ\TT浏览器、世界之窗、彗星浏览器、绿色浏览器、传统... 阅读全文
posted @ 2011-11-01 23:40 ShenJH.NET 阅读(258) 评论(0) 推荐(0) 编辑
摘要: XMLHelper.csusing System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Xml;namespace PuTianCheng{ ///<summary> // 阅读全文
posted @ 2011-11-01 22:47 ShenJH.NET 阅读(161) 评论(0) 推荐(0) 编辑