BUTTONSET RADIO With Exposed Radio Controls
by bizamajig
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css">
<div class="buttonset">
<input name="radio12" type="radio" class="" id="radio5" />
<label class="yesno">Yes</label>
<input name="radio12" type="radio" class="" id="radio6" />
<label class="yesno">No</label>
</div>
JavaScript
$(document).ready(function() {
$(".buttonset").button();
alert ("Buttons created");
});