radio和select选中事件
<div class="control-group">
        <label class="control-label" for="name">上线</label>
        <div class="controls selfradio">
            <label for="yesc">
                <input id="yesc" type="radio" name="online" <if condition="$list.online eq 1">checked="checked"</if> value="1">是</label>
            <label for="noc">
                <input id="noc" type="radio" name="online" <if condition="$list.online eq 0">checked="checked"</if> value="0">否</label>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="name">星标</label>
        <div class="controls selfradio cche">
            <label for="yesc2">
                <input id="yesc2" type="radio" name="star" <if condition="$list.star eq 1">checked="checked"</if> value="1">是</label>
            <label for="noc2">
                <input id="noc2" type="radio" name="star" <if condition="$list.star eq 0">checked="checked"</if> value="0">否</label>
        </div>
    </div>

$('input[type=radio]').change(function() {
		$(this).attr("checked",true);
		$(this).parent('label').siblings().find('input').removeAttr("checked");
    });  

$('input[type=radio][name=bedStatus]').change(function() {
        if (this.value == 'allot') {
            alert("Allot Thai Gayo Bhai");
        }
        else if (this.value == 'transfer') {
            alert("Transfer Thai Gayo");
        }
    });