码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2014-12-19 11:57:11      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:style   blog   ar   sp   on   div   log   bs   ef   

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");

 

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

标签:style   blog   ar   sp   on   div   log   bs   ef   

原文地址:http://www.cnblogs.com/kangjing/p/4173249.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!