How to reset if reboot image previously selected checkboxes, etc.?

A question about input fields, which you can now reboot, can be detected noted. Do create a calculator, and when testing noticed that if the page refreshes via F5 (not new transfer), we can note some fields are chosen for which the cost estimate in the future is incorrect.

How to act in these cases? How to reset values?
July 4th 19 at 23:56
2 answers
July 4th 19 at 23:58
Another option:
wrap inpati to the form:
<form name="calculator_form">
 <input type="number">
 <input type="checkbox">
 <input type="radio">

resetnode form name:

You need to try (don't know how will behave with radiobuttonui and checkboxes):
<form autocomplete="off">...</form>
<input ... autocomplete="off">
Exclusively autocomplete="off" and nothing more. - gustave_Kertzmann52 commented on July 5th 19 at 00:01
July 5th 19 at 00:00
$("input:checkbox:checked").prop("checked", false);
$("input:radio:checked").prop("checked", false)

Find more questions by tags CSSJavaScriptjQuery