alpha 4, radio button click event not being triggered
Currently with the release of alpha 4 my previously bound radio button click events are no longer firing.
Example html is -
[code]
<div data-role="fieldcontain">
<fieldset data-role="controlgroup" data-type="horizontal" data-drinkid="someid">
<legend>Rate This Drink Recipe:</legend>
<input type="radio" name="rating1" id="rating-1" class="rateme" value="1" data-theme="b" />
<label for="rating-1" data-theme="b">1</label>
<input type="radio" name="rating1" id="rating-2" class="rateme" value="2" data-theme="b" />
<label for="rating-2" data-theme="b">2</label>
<input type="radio" name="rating1" id="rating-3" class="rateme" value="3" data-theme="b" />
<label for="rating-3" data-theme="b">3</label>
<input type="radio" name="rating1" id="rating-4" class="rateme" value="4" data-theme="b" />
<label for="rating-4" data-theme="b">4</label>
<input type="radio" name="rating1" id="rating-5" class="rateme" value="5" data-theme="b" />
<label for="rating-5" data-theme="b">5</label>
</fieldset>
</div>
[/code]
JS is just -
$('.rateme').live("click", function() {....
When I try to click one of those radio buttons now though it won't fire. If I go to a JS console and manually then enter say $('.rateme:first').click() it fires that function just fine.
Any ideas?