title: Read a cookie values in javascript
body: <p>I'm creating cookie in my code behind like this</p>
  
  <pre><code>            HttpCookie objCookie = new HttpCookie("DefaultName");
              objCookie.Expires = DateTime.Now.AddDays(5);
              objCookie.Values["Name"] = Name;
              objCookie.Values["Id"] = Id;
              Response.Cookies.Add(objCookie);
  </code></pre>
  
  <p>Now the question is how can i access values "Name" and "Id" in javascript function?</p>