Hello, I am using the following to create a cookie and it is working fine: $('#Play').click(function() { $.cookies.set('WCA.Player', 'Play', { path: '/' }); });
Is there another way to do the same code but something like: $('#Play:click').cookies.set('WCA.Player', 'Play', { path: '/' }); Thanks, Miguel