360doc--昵稱29551440的文章
http://www.ahfyzs.com/rssperson/29551440.aspx
360doc (http://www.ahfyzs.com)
zh-cn
360doc--個(gè)人圖書館
-
求大神指教,為嘛編譯出錯(cuò)
http://www.ahfyzs.com/content/15/1210/21/29551440_519467591.shtml
2015/12/10 21:53:25
-
對(duì)document.cookie.indexOf的解釋
http://www.ahfyzs.com/content/13/1120/17/14452132_330817145.shtml
2015/12/10 21:37:00
對(duì)document.cookie.indexOf的解釋代碼:c_start=c_start + c_name.length+1 c_end=document.cookie.indexOf(";",c_start) if (c_end==-1) c_end=document.cookie.length return unescape(document.cookie.substring(c_start,c_end)) }1. cookie保存在系統(tǒng)中的時(shí)候是以“cookie名1=cookie值;cookie名2=cookie值”這樣的方式來保存的。3. document.cookie.indexOf(c_name + "=")是取得這個(gè)cookie名在整個(gè)cookie中的位置。