easyui input 赋值取值

1 validatebox
赋值:$("#inputname").val('1212');
取值:$("#inputname").val();

2 combobox
赋值:$('#city').combobox('setValue', '北京');
取值:$("#city2").combobox("getValues");

3 numberbox
赋值:$('#nn').numberbox('setValue', 12.12);
取值:$('#nn').numberbox('getValue');

4 datebox
赋值:$("#begindate").datebox('setValue', '2014-9-12');
取值:$('#begindate').datebox('getValue');

猜你喜欢

转载自blog.51cto.com/2793344/2431927