Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uncheck checkbox on back button?

Hi I have numbers of check boxes and below that I have a Button, which will filter data as per check box selection.. enter image description here

When I will click on filter button it will transfer to other page and when I click on back button the checkbox reamains checked.

but I want that when I click on back button then checkbox should be uncheck.

enter image description here

Any help.

like image 765
Java Curious ღ Avatar asked Dec 18 '13 05:12

Java Curious ღ


1 Answers

For those who have similar issues, add autocomplete="off" to checkbox might help.

https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion

like image 71
ohkts11 Avatar answered Sep 20 '22 22:09

ohkts11