easyui的comboBox和struts2结合使用
数据是从数据库中来的
?
$.ajax({ url: "getSessions", cache: false, dataType:"json", success: function(json){ $("#cc").combobox({data:json.rows,valueField:'sessions', textField:'sessionsChinese'}); }});