Adam, I finally got it working. It was my own stupidity (and tired brain) - I did not have the params in single quotes. Duoh!
Anyway, thanks for the help.
John
Thanks Adam, I did find that code and some others (that's how I came across the CodePunk site). I had trouble getting it to do the appending (each time a user clicks a product it needs to add to the same cookie, not overwrite).
I am sure it is just because of my lack of JS knowledge. I will...
Hi, I am a designer with HTML/CSS/some PHP skills but not much Javascript. I was hoping someone could give me some advice on this problem.
Goal: User clicks link ('More Info') that adds text string to a specific cookie. For example, cookie named 'products' has the value 'chair01' appended...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.