$('#box').spinner({
required:true,
value:2,
min:1,
max:1000000,
/*spin:function(down){
alert(down);
},*/
onSpinUp:function(){
$('#box').spinner('setValue',parseInt($('#box').spinner('getValue'))+1);
},
onSpinDown:function(){
$('#box').spinner('setValue',parseInt($('#box').spinner('getValue'))-1);
},
easyui--spinner
最新推荐文章于 2021-04-22 09:53:22 发布