JavaScript code for check the value of radio button (jQuery.val(); alternative)
<p>I've two radio buttons to select a type of IVA:</p>

<pre><code>&lt;input type="radio" value="18" checked="true" name="ivacontract"&gt; 18%
&lt;input type="radio" value="16" name="ivacontract"&gt; 16%
</code></pre>

<p>And I've one function that will calculate a value depending of the value of the radio button with name "ivacontract". In jQuery I'll use a selector and .val(); to get the value but this application (not coded by me) doesn't use jQuery so I don't know how to do it.</p>

<p>Any help?</p>

<p>Thank you in advance!</p>
