Fix a simple bug using Javascript cookies to save json object. So that later can retrieve object

Job ID: 31015321

Budget: $2 – $8 USD

I am designing a shopping cart for my website using php and javascript. I have managed to save a cookie using document.cookie="test=123" which works but only sometimes. For some reason upon first load of the website the cookie wont be saved.

I need somebody who can look through my code and fix the problem I'm having. I just want to be able to save a javascript object in a cookie and then later retrieve back the javascript object so I can make my shopping cart system work.

If you include the word 'orange' in your bid, it will let me know that you took the time to read my project description against all the other bidders who auto post without reading. Thank you
Related categories: PHP JavaScript AJAX