If I have the following jQuery mobile html;
<fieldset data-role="controlgroup" data-type="horizontal" name="Smoker" id="Smoker">
<input name="radio3" id="radio3" value="Yes" type="radio" />
<label for="radio3">Yes</label>
<input name="radiobuttons1" id="radio4" value="No" type="radio" />
<label for="radio4">No</label>
</fieldset>
I thought I could do this in jQuery;
$("#Smoker").val()
However this yields no result. Do I in fact need to query both the inputs to see which one has been checked or is there a nice jQuery Mobile way to do this?
try