Button set test
by photo_tom
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/themes/mint-choc/jquery-ui.css">
<div id="radio">
<input type="radio" id="radio1" name="radio" />
<label for="radio1">Choice 1</label>
<input type="radio" id="radio2" name="radio" checked="checked"/>
<label for="radio2">Choice 2</label>
<input type="radio" id="radio3" name="radio" />
<label for="radio3">Choice 3</label>
</div>
JavaScript
$("#radio1").button({
icons: {
primary: "ui-icon-locked"
}
});
$("#radio").buttonset();