Setting and clearing cookies with jQuery is really easy (especially when compared with regular Javascript) but it’s not includedin the jQuery core and requires a plug-in. This post shows how to set, get the value of and clear cookies with jQuery.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed