title: How to display "selected radio button" after refresh?
body: <p>After refresh the page, the user selected radio button is missing.
  How can I always display the user's &quot;selected radio button&quot; even I had refresh the page?</p>
  <pre><code>&lt;input name=&quot;radiobutton&quot; type=&quot;radio&quot; value=&quot;&quot; id=&quot;all&quot; checked /&gt;
  </code></pre>
  <p>radio with checked is not suitable, because it will always display the default radio button.</p>
  <p>Below is my code:-</p>
  <pre><code>&lt;form name=&quot;myfrm&quot; id=&quot;myfrm&quot; action=&quot;&quot; method=&quot;post&quot;&gt;
      &lt;input name=&quot;radiobutton&quot; type=&quot;radio&quot; value=&quot;&quot; id=&quot;all&quot; /&gt;
      &lt;label&gt;All Languages&lt;/label&gt;
      &lt;input name=&quot;radiobutton&quot; type=&quot;radio&quot; value=&quot;&quot; id=&quot;english&quot; /&gt;
      &lt;label&gt;English&lt;/label&gt;
  &lt;/form&gt;
  </code></pre>