1.经常使用到select,每次都是翻翻翻资料,干脆总结一下,方便日后查看。 2.checked 匹配所有选中的被选中元素(复选框、单选框等,不包括select中的option) selected 匹配所有选中的option元素 disabled 匹配所有不可用元素 可通过 $("input[nam
分类:
其他好文 时间:
2016-03-11 00:59:45
阅读次数:
264
button文字颜色选择器 <selector xmlns:android="http://schemas.android.com/apk/res/android" > <item android:state_selected="true" android:color="@color/actionb
分类:
其他好文 时间:
2016-03-09 12:38:49
阅读次数:
135
JQuery 绑定select标签的onchange事件,弹出选择的值,并实现跳转、传参(selected的值和页面其它元素的值) 代码如下: <script src="jquery.min.js" type="text/javascript"></script> <script language=
分类:
Web程序 时间:
2016-03-09 01:37:08
阅读次数:
216
1.binding ItemsSource public class TabItemViewModel { public string Header { get; set; } public FrameworkElement Content { get; set; } } public class
html 代码如下: <TR id="t030006" class="sr plus selected"> <TD><INPUT id=cvrgNo030006 value=030006 readOnly CHECKED type=checkbox jQuery1456994811776="96">
分类:
Web程序 时间:
2016-03-03 23:04:37
阅读次数:
530
1021. Deepest Root (25) A graph which is connected and acyclic can be considered a tree. The height of the tree depends on the selected root. Now you
分类:
其他好文 时间:
2016-03-02 22:08:53
阅读次数:
229
1. 如何创建嵌套的过滤器 //允许你减少集合中的匹配元素的过滤器, //只剩下那些与给定的选择器匹配的部分。在这种情况下, //查询删除了任何没(:not)有(:has) //包含class为“selected”(.selected)的子节点。.filter(":not(:has(.selecte
分类:
其他好文 时间:
2016-03-02 13:07:16
阅读次数:
95
这个是在使用了VS2015 update1学MVC的时候,在controllers的方法添加view时报的一个错误,中文基本搜不到解决方法,然后无奈转到成英文,还好G家的搜索提示补全能力拯救了我的渣英语,搜索 running the selected code generator : invalid
分类:
其他好文 时间:
2016-03-01 01:01:25
阅读次数:
2170
jquery获取select选择的文本与值 获取select : 获取select 选中的 text : $("#ddlregtype").find("option:selected").text(); 获取select选中的 value: $("#ddlregtype ").val(); 获取se
分类:
Web程序 时间:
2016-02-29 18:05:07
阅读次数:
158
今天做一个九宫格密码的项目,设button的selected状态,怎么都不对,后来发现这个属性的作用 [btn setBackgroundImage:[UIImage imageNamed:@"gesture_node_normal"] forState:UIControlStateNormal];
分类:
移动开发 时间:
2016-02-26 23:20:02
阅读次数:
227