Possible Duplicate:
Clearing all cookies with javascript
I would like to have a checkbox assigned to activate and wipe out all cookies previously stored in my forms in one go. How would I do that with jquery cookie plugin? I can’t seem to find examples in Klaus site and here.
Any hint would be very much appreciated.
Thanks
The accepted answer in this question should accomplish what you’re after:
(code is expanded for clarity from the linked answer, no need to reinvent the wheel here)
There’s no need for a plugin in all cases, sometimes a simple JavaScript snippet will do…jQuery really doesn’t help at all here