I have three radio buttons I want to preserve the radio button values after the browser refresh using cookies.
Please help me out.
I have three radio buttons I want to preserve the radio button values after the browser refresh using cookies.
Please help me out.
Attach a "onchange" event handler to you radio buttons and save the new value into a cookie. Then attach a "onload" event handler to your body and set the values of radio buttons based on the value in the cookie (if it is present) ...