标签:
function quan(domQuan, domOther) {
/// <summary>
/// 全选反选js方法
/// </summary>
/// <param name="domQuan">全选按钮Jquery对象</param>
/// <param name="domOther">其他按钮Jquery对象</param>
domQuan[0].checked == true ? domOther.attr("checked", "checked") : domOther.attr("checked", "checked").removeAttr("checked");
}
标签:
原文地址:http://www.cnblogs.com/gaocong/p/5495479.html