Getting the same value of the radio button selected using Val()
<p>I have a form and I wish to get the value of a radio button but it always gives me the same value ("floating") even though I select a different radio button and I run this function?!</p>

<p>HTML:</p>

<pre><code>&lt;input type="radio" id="license_floating" name="license" value="floating" class="realtime" /&gt;
&lt;input type="radio" id="license_fixed" name="license" value="fixed" class="realtime" /&gt;
</code></pre>

<p>JS/JQuery:</p>

<pre><code>alert($('form#quick input[name=license]').val());
</code></pre>

<p>The form is named quick, however, there are other forms on the page which have use the same IDs. But this shouldn't be a problem as I am referencing it correctly by referring to the form as well as the element ID.</p>

<p><em>Should be asking for the selected one somehow?</em></p>

<p>Really need help on this!</p>

<p>Thanks all</p>
