随机返回list对象 /** * 返回随机List * @param list 备选 * @param selected 备选数量 * @return */ public List getRandomNum(List list, int select...
分类:
其他好文 时间:
2014-06-25 21:34:40
阅读次数:
341
client端:function Save(){ var data_temp = convert_To_Json(checkbox_selected()); //alert(data_temp); $.ajax({ type: "post", ...
分类:
Web程序 时间:
2014-06-23 06:10:35
阅读次数:
294
原文地址:http://hi.baidu.com/kinghmx/item/395dbac3261292dcef183b52最近在写一个页面,在出了ie6外的所有浏览器中都正常(ie7,8,9, firefox, chrome), IE6下提示 “无法设置selected属性。未指明的错误”。后来发...
分类:
Web程序 时间:
2014-06-20 20:30:33
阅读次数:
197
有一个案例,是读取Excel的资料显示于ASP.NET的GridView控件。在GridView控件中,有一列是用RadioButtonList来显示性别信息(男或女)。另外来看看Excel的数据:接下来,看看显示:后台为这个RadioButtonList控件绑定数据:浏览看结果:看到否,性别一列中...
分类:
其他好文 时间:
2014-06-20 15:38:51
阅读次数:
233
设ASPxCheckBoxList的ClientInstanceName为list_var needtext;for (var i = 0; i < list_.GetSelectedItems().length; i++) { needtext= list_.GetSelectedItems()....
分类:
Web程序 时间:
2014-06-19 00:39:26
阅读次数:
391
开始出现很奇怪的问题,ff没有问题IE8还是会出现不能选中默认项的问题,更改了select、input的方式,数据加载方式也更改为json的方式,未果,最后将datagrid toolbar的初始化放到了datagrid之后,选中使用了 'selected': 'true',搞定。
分类:
其他好文 时间:
2014-06-18 10:10:10
阅读次数:
179
eclipse new server Cannot create a server using the selected type 网上有两种办法,其实原理一样第一种说法:还真的找到解决的方法了,如下:1.退出eclipse2.到[工程目录下]/.metadata/.plugins/org.eclipse.core.runtime3.把org.eclipse.wst.server.core.pre...
分类:
系统相关 时间:
2014-06-15 08:36:06
阅读次数:
216
在UIButton的selected设为TRUE后,需要在按钮高亮时,显示自定义的背景图。
经研究hightLighted和selected这两个状态是可以重叠的,就是button可以同时处于selectec和highlighted两个状态下。
从UIControlState的定义也可以看出:
typedef NS_OPTIONS(NSUInteger, UIControlState) {...
分类:
其他好文 时间:
2014-06-07 16:25:17
阅读次数:
323
之前移植了6410后,就没有测试过,今天编写程序烧进去后运行才发现触摸屏不起作用。
于是试了下系统里tslib的bin文件夹下的命令:
./ts_caliberate
结果总是报错:selected device is not a touchscreen I understand
先去飞凌的官方论坛逛了一圈,好多人有这个问题,但没一个解决办法有效。
先用cat命令试了下几个event...
分类:
其他好文 时间:
2014-06-05 01:04:27
阅读次数:
321
/* modfly selected textures`s maxSize and
ImportFormat bool hasAlpha = true; if(hasAlpha)then(texture.size/2 and
trueColor)else(16bit) 2014.05.27*...
分类:
其他好文 时间:
2014-05-28 20:28:19
阅读次数:
438