How to use Radio Button values in a button URL?
<p>I have a form with a few radio buttons and I want to use the value of the radio button selection to change what url you go to when you click a button.</p>

<pre><code>&lt;input type="radio" name="Server" value="ftp://one.com" checked&gt;One
&lt;input type="radio" name="Server" value="ftp://two.com"&gt;Two


&lt;button type="button" name="" onClick="location.href='document.getElementsByName("Server").checked + "/file.ext"'"&gt;Download
</code></pre>

<p>I want to select the FTP server with the radio button and change the download link of the button.</p>
