RadioButton控件选中、取消

js:
var flag = true;
    function chkRadio(id) {
        id.checked = flag;
        flag = !flag;
    }
aspx.cs:
this.rbtKey.Attributes.Add("onclick", "chkRadio(this)");

  

posted @ 2015-03-25 09:03  琅琊天  阅读(1113)  评论(0编辑  收藏  举报