<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)  編輯  收藏

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


    網站導航:
     

    常用鏈接

    留言簿(5)

    隨筆分類

    隨筆檔案

    搜索

    •  

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 亚洲一卡二卡三卡四卡无卡麻豆| 日韩视频在线精品视频免费观看 | 亚洲天堂电影在线观看| 丝袜捆绑调教视频免费区| 亚洲人成色77777在线观看大| 国产精品亚洲精品日韩动图| 国产亚洲福利一区二区免费看| 亚洲日本国产综合高清| 成年人免费网站在线观看| 日韩亚洲国产综合高清| 免费理论片51人人看电影| 337p日本欧洲亚洲大胆人人| 四虎影视永久免费观看地址| 美女18毛片免费视频| 亚洲国产精品丝袜在线观看| h在线看免费视频网站男男| 亚洲日韩精品射精日| 最近中文字幕无免费| 亚洲日本成本人观看| 免费真实播放国产乱子伦| 一本一道dvd在线观看免费视频 | 亚洲中文无码亚洲人成影院| 妞干网在线免费观看| 免费中文字幕视频| 亚洲爆乳精品无码一区二区三区 | 亚洲国产精品自产在线播放| 久久久受www免费人成| 久久综合日韩亚洲精品色| 无码日韩精品一区二区免费| 粉色视频成年免费人15次| 亚洲国产精品福利片在线观看| 国产精品永久免费10000| 添bbb免费观看高清视频| 亚洲成A人片在线观看WWW| 国产成在线观看免费视频| 国产成人精品亚洲| 亚洲一区二区三区高清| 天天摸天天碰成人免费视频| 国产午夜无码片免费| 亚洲AV成人一区二区三区在线看 | 精品免费久久久久国产一区|