码迷,mamicode.com
首页 >  
搜索关键字:selected    ( 1606个结果
最近有机会接触到了angularJs
记点笔记 概念多了 理顺还待时日: 总的来说:1.ng-src src属性2.ng-href href属性3.ng-checked 选中状态4.ng-selected 被选择状态5.ng-disabled 禁用状态6.ng-multiple 多选状态7.ng-readonly 只读状态注意: 上面的...
分类:Web程序   时间:2015-07-09 22:37:54    阅读次数:152
50个比较实用jQuery代码段
1. 如何创建嵌套的过滤器: //允许你减少集合中的匹配元素的过滤器, //只剩下那些与给定的选择器匹配的部分。在这种情况下, //查询删除了任何没(:not)有(:has) //包含class为“selected”(.selected)的子节点。 .filter(":not(:has(.selec...
分类:Web程序   时间:2015-07-08 00:07:52    阅读次数:197
JQuery EasyUI combobox动态添加option
方法一:var data, json;json = '[{"id":"年计划","text":"年计划","selected":true}]';data = $.parseJSON(json);$("#rwlb").combobox("loadData", data);方法二:var data,.....
分类:Web程序   时间:2015-07-04 13:54:45    阅读次数:158
iOS遇到的问题
当出现Theselectedviewshavenoconstraints.Atbuildtime,explicitleft,top,width,andheightconstraintswillbegeneratedfortheviewsh时候Editor-->ResolveAutoLayoutissues-->AddmissingconstraintsinViewController可解决
分类:移动开发   时间:2015-07-03 00:28:44    阅读次数:174
Swift 另类判断语句用法 button.selected = index < rating
很简洁的用法: index < rating return true or false for (index, button) in ratingButtons.enumerate() { // If the index of a button is less than the rat...
分类:编程语言   时间:2015-07-02 07:38:42    阅读次数:244
后台传值让select默认加载到对应的选项的解决方法(EJS)
基本解决思路: 1、通过for循环遍历出option选项 2、将for循环的变量赋值到对应的option的value中 3、将option的value与后台数据比对,若相等则输出selected="selected"具体代码:
分类:Web程序   时间:2015-06-30 21:47:16    阅读次数:197
jquery 获取和设置 select下拉框的值
获取Select :获取select 选中的 text : $("#ddlRegType").find("option:selected").text();获取select选中的 value: $("#ddlRegType ").val();获取select选中的索引: $("#ddlR...
分类:Web程序   时间:2015-06-30 20:16:23    阅读次数:136
不是SELECTed表达式
sql语句如下:select distinct(p.project_name) name,p.pkid pkid, p.report_year year, q.cor_name cor_name,getcityname(q.belongs_city) belongs_city, p.apply_su...
分类:其他好文   时间:2015-06-28 22:51:00    阅读次数:202
Jquery文件提交
首先引入文件jquery.js,jquery.form.js,jqueryMultiFile.jsJSP页面中增加:$(document).ready(function(){$(‘#myfile‘).MultiFile({accept:‘jpg|png|bmp|gif‘,max:10,STRING:{remove:‘移除‘,selected:‘已经选择了:$file‘,denied:‘对不起,不支持:$ext!‘,duplicate:‘文件重复:\..
分类:Web程序   时间:2015-06-26 23:59:54    阅读次数:353
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!