Radio Buttons with javascript
<p>I have the following coded radio buttons, which  retrieve value(s) in the code below. 
Is it possible to create hyperlink references from these retrieved values e.g., google.com and/or yahoo.com for the selected radio buttons?</p>

<pre><code>&lt;script language="javascript"&gt;
&lt;!--

function RadioCheck() {


var selection = document.quiz.colour;

for (i=0; i&lt;selection.length; i++)

  if (selection[i].checked == true)
 alert(selection[i].value);




}

//--&gt;
&lt;/script&gt;



&lt;/head&gt;
&lt;body&gt;

&lt;form name="quiz"&gt;

  &lt;input type="radio" name="colour" value="red"&gt;red&lt;br&gt;
  &lt;input type="radio" name="colour" value="orange"&gt;orange&lt;br&gt;
  &lt;input type="radio" name="colour" value="yellow"&gt;yellow&lt;br&gt;
 &lt;br&gt;


&lt;input type="submit" value="Check Answer" onClick="RadioCheck()"&gt;

&lt;/form&gt;
</code></pre>

<p>thanks in advance.</p>
