How to use cookies in javascript?

Tripati_tutu
Posted by Tripati_tutu under JavaScript category on | Points: 40 | Views : 1878
function setCookie()
{ document.cookie = 'CookieName=' + document.formID.cookieName.value; }

function showCookie()
{ alert(document.cookie); }

Comments or Responses

Login to post response