Cissi Posted March 22, 2007 Share Posted March 22, 2007 I want to save links to a cookie. So far I can save one link by: var value=document.getElementById("link1").href; document.cookie=cookiename + "=" + escape(value); If I want to save several links, do I have to create one cookie per link or can I save them all in the same cookie? If I can use only one cookie, how do I read the values from it? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.