I am using
prototype in Magento custom module and have a requirement to keep the checkbox selected after page reload if its clicked. The scenarios are as under:
- Keep checkbox unchecked when the page loads first time.
- If user clicks on checkbox and reload the page, keep the checkbox selected.
- If user unchecks and reload the page, keep the checkbox unchecked.
How could I achieve this using prototype ?