您的位置:首页 > Web前端 > JQuery

jquery设置checkbox状态,设置dropdownlist选中值,隐藏某控件,给某控件追加东西

2014-12-19 10:06 501 查看
jquery设置checkbox状态

$("[ID$=chkType]").attr("checked", true);


jquery设置dropdownlist选中值

$("[ID$=ddlSTATUS]").val("Not Submitted");


jquery隐藏某控件

$("[ID$=MEMO]").parent().parent().hide();


jquery给某控件追加Label

$("[ID$=txtText]").parent().prev().prev().append($("[ID$=txtText]").attr("style", "margin-left:20px;")).append("% of money");
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: