easyui input value assignment

1 validatebox
assignment: $ ( "# inputname") val ( '1212');.
Value:. $ ( "# Inputname" ) val ();

2 the ComboBox
assignment: $ ( '# city') combobox ( 'setValue', ' Beijing');.
Value:. $ ( "# City2" ) combobox ( "getValues");

. 3 numberbox
assignment: $ ( '# nn') numberbox ( 'setValue', 12.12);.
Value: $ ( '# nn') numberbox ( 'getValue');.

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

Guess you like

Origin blog.51cto.com/2793344/2431927
Recommended