Having this radio buttons in horizontal controlgroup:
<div data-role="fieldcontain">
<fieldset data-role="controlgroup" data-type="horizontal">
<legend>Geslacht:</legend>
<input id="gender-male" name="gender" type="radio" value="MALE" />
<label for="gender-male">Man</label>
<input id="gender-female" name="gender" type="radio" value="FEMALE" />
<label for="gender-female">Vrouw</label>
</fieldset>
</div>
At a given point I want to reset the values programmatically using:
$('#gender-male').prop('checked', false)
$('#gender-female').prop('checked', false)
However the styling of the radio buttons is not changed.
E.g. is MALE was selected it still appears selected.
Should I do some kind of refresh?
Look at this: