RadioButton RadioButton is an extension to standard radio button element with skinning capabilities.
$('#rd1').puiradiobutton();
                                
<input type="radio" name="rd" id="rd1" value="1"/>
                                

No options.

Name Parameters Description
change event: puiradiobuttonchange event
checked: Boolean value of selected state.
Fired when value changes.

Example

$(':radio').puiradiobutton({
    change: function(event) {
        //..
    }
});
                                
Name Parameters Description
enable - Enable the widget.
disable - Disable the widget.
option name: Name of the option Returns the value of the option.
option name: Name of the option, value: Value of the option Set the value of the option.
$(function() {
    $(':radio').puiradiobutton();
});
                                
<table>
    <tr>
        <td><input type="radio" name="rd" id="rd1" value="1"/></td>
        <td><label for="rd1">Option 1</label></td>
    </tr>
    <tr>
        <td><input type="radio" name="rd" id="rd2" value="2"/></td>
        <td><label for="rd2">Option 2</label></td>
    </tr>
    <tr>
        <td><input type="radio" name="rd" id="rd3" value="3" disabled="disabled"/></td>
        <td><label for="rd3">Option 3</label></td>
    </tr>
</table>