本月博客排行
-
第1名
kaizi1992 -
第2名
arpenker -
第3名
wy_19921005 - hanbaohong
- jh108020
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
青否云后端云 - vipbooks
- wy_19921005
- benladeng5225
- fantaxy025025
- e_e
- kaizi1992
- tanling8334
- arpenker
- sam123456gz
- javashop
- zysnba
- xiangjie88
- lemonhandsome
- wallimn
- ganxueyun
- Xeden
- xyuma
- zhanjia
- wangchen.ily
- jh108020
- johnsmith9th
- zxq_2017
- jbosscn
- forestqqqq
- daizj
- ajinn
- xpenxpen
- ranbuijj
- 喧嚣求静
- kingwell.leng
- silverend
- lchb139128
- kristy_yy
- jveqi
- lich0079
- lzyfn123
- java-007
- sunj
- yeluowuhen
- lerf
- xiaoxinye
- flashsing123
- zhangjijun
- lxguy
- bosschen
- lyndon.lin
- sunnylocus
最新文章列表
多选下拉框的回显(Select)
多选下拉框打印时候是已数组形式展现的,按这种思路:
<select id='extensionName' name='directory.extensionName' multiple="multiple" size="10" style="width: 189px" >
<option value=". ...
Swing Jtable 选择与反选
Swing 中设置jtable 行取消和选中常用如下:
//选中N-M行
table.setRowSelectionInterval(0, 0);//选中索引未0行
table..setRowSelectionInterval(0, 1);//选中索引0-1行
//追加选中
table.addRowSelectionInterval(1, 1);
table.addRowSe ...
jquery <s:radio 单选扭添加change事件
因为<s:radio 的id,解析完之后会自动在id后边加数字,所以事件需要通过class来添加
<s:radio cssClass="test" id="test" name="test.test" list="#{0:'女',1:'男'}" listKey="key" listVal ...
Dev的GridControl自定义设置行和单元格的错误信息
DataRow fRow = gridView1.GetFocusedDataRow();//获取焦点行
fRow.RowError = "不允许修改色号";//自定义设置整行的错误内容
string fieldName="col_id"; fRow.SetColumnError(fieldName, "不允许修改色 ...
判断多选选中的数量大于2,选中多个值进行判断,提交action
function ValidateUsr(){
var j = 0;
for(var i=0;i<document.infoForm.privilegeid.length;i++){
if(document.infoForm.privilegeid[i].checked){
j++;
}
}
if(j<2){
alert(&q ...
判断多选选中的数量大于2
function ValidateUsr(){
var j = 0;
for(var i=0;i<document.infoForm.privilegeid.length;i++){
if(document.infoForm.privilegeid[i].checked){
j++;
}
}
if(j<2){
aler ...
JQuery 得到 checkbox 值
<input type="checkbox" id="test1"></input>
alert($("#test1").val()) //无论是否选中都输出on
<input type="checkbox" id="test2"></i ...
几种用来检查checkbox是否选中的方法(转载)
// First way
$('#checkBox').attr('checked');
// Second way
$('#edit-checkbox-id').is(':checked');
// Third way for jQuery 1.2
$("input[@type=checkbox][@checked]").each(
func ...
html选中区域判断
getSelectionHTML : function() {
var userSelection;
if (window.getSelection) {
// W3C Ranges
userSelection = window.getSelection();
// Get the range:
if (userSelection.getRangeAt)
...