y0, Not really, why do you need to/ or want to? you could do this
$('#Play').click(function() { $.cookies.set('WCA.Player', 'Play', { path:
'/' }) })
ha, j/k same thing, just one line. Could you just explain why you would
like to do it a different way? or where you just wondering?
shapper
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: '/' })
2 matches
Mail list logo