hi guys, Is there a way to retain the checkbox value (in js) after refresh? There is a checkbox in this form. When the page is refreshed, the checkbox data disappears. Is there a way to refresh the page, while keeping the checkbox data? I have a window (#1) with a form and checkbox. #1 has a link to pop up another window (#2) with another form. When the form on #2 is completed, #1 is refreshed. My project is a combination of PHP and JS..please help Thank you.
no, after your form(#2) is submitted, you also have to save the state for #1 that it's checked, so by the time #1 is refreshed, check if you have that state checked .. gets? sorry i can't explain that much...
Just google about how to maintain session state AND then read about cookies and then you'll understand how to solve your problem by yourself. Trust me, it shouldn't take more than a few hours.