set a cookie for a form?
Hello I wonder if somebody can help me, I want to set a cookie for the form below, so it remembers a users preference until they change it, even if the browser closes. How can I do this?
<form name="Flags">
<IMG SRC="http://www.srcf.ucam.org/~girtonmcr/images/button/BlueFlag.gif"
BORDER="0" name="mypicture">
<INPUT TYPE=BUTTON name="flags"VALUE="Flag" onClick="mypicture.src = 'http://www.sprott.com/images/icons/red_flag.gif'">
<INPUT TYPE=BUTTON name="flags"VALUE="Off" onClick="mypicture.src = 'http://www.srcf.ucam.org/~girtonmcr/images/button/BlueFlag.gif'">
</form>
Codehunter
April 17,