
var width = $(window)width()-80;
var height = $(window)height()-120;
stView_layout = $('#stView_layout')layout({
width: width,
height: height
});
station_view = $('#stationView')window({
title: '测站导航',
left:50,
top:80,
width: width,
modal: false,
shadow: false,
closed: true,
height: height,
onResize:function(w,h){
if(stView_treegrid){
stView_treegridtreegrid({
width:w-20,
height:h-260
});
}
}
});
combobox有一个事件是onSelect是在选择一项时触发,你可以在这个事件里写,用$post或ajax等方法把选择的项的数据发送到后台,得到返回数据后赋值给numberbox
与原生js差不多,毕竟都是对其进行了封装。
focus 获取焦点:
$('#search_state-comb')combobox()next('span')find('input')focus()
方法一:通过jquery方式获取,$("#id")val()
方法二:通过easyui组件方法获取,如对于numberbox组件:
$('#nn')numberbox('getValue');
以上就是关于easyui中class="easyui-numberbox"maxlength="40" precision="2" ,怎样让输入值过大时不显示科学计数法全部的内容,包括:easyui中class="easyui-numberbox"maxlength="40" precision="2" ,怎样让输入值过大时不显示科学计数法、easyui validatebox赋值问题、easyui如何使输入框textbox获取到焦点等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)