Hello
I'd like to write a cookie when a user check a box but it doesn't work...
Can anyone help me?
I have a module which contains:
and a little script:Code:<div> <label onchange="noShow(); return false;">Don't show anymore <input name="ver" type="checkbox" value="1" /></label> </div>
Thank you for your helpCode:<script type="text/javascript"> function noShow(){ Cookie.write('noshow', '1', {duration: 1}); } </script>
Bookmarks