title: Getting cookie information via javascript or jQuery
body: <p>My question I believe is pretty simple, yet I haven't found a good answer.</p>
  
  <p>At an e-commerce website, when you purchase a product he will set a cookie with the info of the family product the user has bought. Ok.
  Thing is, how to get this info from the cookie and return that to the customer browser via javascript or jquery (I can only work on the client side) like: "Congratulations on your new PRODUCT NAME"?</p>
  
  <p>I am a newbie on js and programming, so please forgive is that was answered somewhere or really basic stuff. But I haven't found a good explanation on how to retrieve information from a cookie and return it to the user.</p>
  
  <p>Thanks a lot!</p>