Demo of checkboxradio with custom label option






jquery

<script>
$(document).ready(function() {	
/////////
$( ".r2,.c2" ).checkboxradio({
});
/////////////
$("input:radio[name=r1]").click(function() {
var sel=$(this).val()
$( ".r2,.c2" ).checkboxradio( "option", "label", sel );
$('#d1').html( "  label Option value = <code>" + sel + "</code>" );
})
////////
var status = $( ".r2,c2" ).checkboxradio( "option", "label" );
$('#d1').html( "  label Option value = <code>" + status + "</code>" );
///////
})
</script>

HTML

<label for="radio-1">PHP</label>
    <input type="radio" name="radio-1" id="radio-1" class='r2'>
    <label for="radio-2">MySQL</label>
    <input type="radio" name="radio-1" id="radio-2" class='r2'>
    <label for="radio-3">JQuery</label>
    <input type="radio" name="radio-1" id="radio-3" class='r2'>

	<label for="checkbox-1">Tutorial</label>
    <input type="checkbox" name="checkbox-1" id="checkbox-1" class='c2'>
    <label for="checkbox-2">DEMO</label>
    <input type="checkbox" name="checkbox-2" id="checkbox-2" class='c2'>