Javascript get value by radio button name
<p>first of all i am a beginner in javascript, a really big beginer</p>

<p>Can someone give me a hint on this?</p>

<p>I have a <code>form</code>, on the form i have a <code>radio</code> button.</p>

<p>And i would like to that if the radio is set yes , it would show the value of it on another page.</p>

<p>And i would like to get the value by the input name</p>

<p>is it possible?</p>

<p>I'm not asking to write my code, but just an example for a start.</p>

<p>i was tried with this just for a test</p>

<pre><code>&lt;input type="hidden" name="the_name" value="yes"&gt;

if(the_name.element == 'yes') {
    alert('cool');
}
</code></pre>
