How can I do a simple if statement based on radio button selection?
So if radio button inches is displayed, then div.inchesUser is shown (using .show) And the opposite for centimetres.
This is what I want the function to do:
$('div.inchesUser').show(200);
This is my radio button code:
<form id="unitChooser">
    <label>Inches or centimetres?</label>
    <input class="unitSelectInches" type="radio" name="units" value="inches" />Inches
    <input class="unitSelectCenti" checked="checked" type="radio" name="units" value="cms" />Centimetres
</form>
 
     
    