comparison cs/index.html @ 84:03c6971ed023

thule_fit_kits/fitkits_Thule.txt: latest update
author paulo
date Sat, 23 Jul 2016 15:25:44 -0600
parents f833a888c548
children 4d3f845c4ef2
comparison
equal deleted inserted replaced
0:15f6a50d6a69 1:47aea919de21
32 32
33 var unset = document.createElement("input"); 33 var unset = document.createElement("input");
34 unset.type = "button"; 34 unset.type = "button";
35 unset.value = "Unset"; 35 unset.value = "Unset";
36 unset.onclick = function() { 36 unset.onclick = function() {
37 docCookies.removeItem(k); 37 docCookies.removeItem(k, "/");
38 setCookiesDiv.removeChild(d); 38 setCookiesDiv.removeChild(d);
39 }; 39 };
40 40
41 d.appendChild(kInput); 41 d.appendChild(kInput);
42 d.appendChild(vInput); 42 d.appendChild(vInput);
61 } 61 }
62 } 62 }
63 } 63 }
64 64
65 function set() { 65 function set() {
66 docCookies.setItem(setK.value, setV.value, 600); 66 docCookies.setItem(setK.value, setV.value, 600, "/");
67 setK.value = ""; 67 setK.value = "";
68 setV.value = ""; 68 setV.value = "";
69 load(); 69 load();
70 } 70 }
71 71