<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    代碼
    jQuery.cookie = function(name, value, options) {
        
    if (typeof value != 'undefined') { // name and value given, set cookie
            options = options || {};
            
    if (value === null) {
                value 
    = '';
                options.expires 
    = -1;
            }
            
    var expires = '';
            
    if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
                
    var date;
                
    if (typeof options.expires == 'number') {
                    date 
    = new Date();
                    date.setTime(date.getTime() 
    + (options.expires * 24 * 60 * 60 * 1000));
                } 
    else {
                    date 
    = options.expires;
                }
                expires 
    = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
            }
            
    var path = options.path ? '; path=' + options.path : '';
            
    var domain = options.domain ? '; domain=' + options.domain : '';
            
    var secure = options.secure ? '; secure' : '';
            document.cookie 
    = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
        } 
    else { // only name given, get cookie
            var cookieValue = null;
            
    if (document.cookie && document.cookie != '') {
                
    var cookies = document.cookie.split(';');
                
    for (var i = 0; i < cookies.length; i++) {
                    
    var cookie = jQuery.trim(cookies[i]);
                    
    // Does this cookie string begin with the name we want?
                    if (cookie.substring(0, name.length + 1== (name + '=')) {
                        cookieValue 
    = decodeURIComponent(cookie.substring(name.length + 1));
                        
    break;
                    }
                }
            }
            
    return cookieValue;
        }
    };

     

    posted on 2010-08-11 11:49 sanmao 閱讀(214) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發(fā)表評論。


    網(wǎng)站導(dǎo)航:
     

    常用鏈接

    留言簿(5)

    隨筆分類

    隨筆檔案

    搜索

    •  

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 免费福利在线播放| 亚洲国产一二三精品无码| 永久免费无码网站在线观看个| 国产gv天堂亚洲国产gv刚刚碰| 亚洲毛片在线免费观看| 美女18毛片免费视频| 无码乱人伦一区二区亚洲一| 日韩欧美一区二区三区免费观看| 午夜在线免费视频| 亚洲最大视频网站| 77777亚洲午夜久久多人| 日本在线高清免费爱做网站| 国产免费播放一区二区| 久久精品国产亚洲AV久| 亚洲日韩av无码| 日韩精品视频免费网址| 99在线在线视频免费视频观看 | 亚洲精品一二三区| 中文字幕亚洲日韩无线码| 国产卡一卡二卡三免费入口| 波霸在线精品视频免费观看| 亚洲精品无码高潮喷水A片软| 亚洲VA中文字幕不卡无码| 国产一区二区三区免费看| 亚洲精品在线免费看| 美女被免费网站91色| 国产成人综合久久精品亚洲| 亚洲精品国产成人| 亚洲大成色www永久网站| 啊灬啊灬别停啊灬用力啊免费看| 国产成人精品免费视频大| 国产在线精品一区免费香蕉| 亚洲AV无码AV吞精久久| 亚洲免费视频观看| 久久精品国产亚洲av麻豆色欲| 久久久精品国产亚洲成人满18免费网站| 好爽…又高潮了毛片免费看| 在线看片韩国免费人成视频| 午夜爽爽爽男女免费观看影院| A毛片毛片看免费| 一级做a爱过程免费视频高清|