Matt Quackenbush ha scritto:
str = $("input[name='addType']").val();

Don't know if is the better way, but I use this method:

<label for="add-type-1"><input type="radio" class="radio_add_type" name="addType" id="add-type-1" value="prem" />&nbsp;Premium</label> <label for="add-type-2"><input type="radio" class="radio_add_type" name="addType" id="add-type-2" value="std" checked="checked" />&nbsp;Standard</label>

$('.radio_add_type:checked')[0].value;

Bye

Reply via email to