var sValues = $("#prefecture").combotree("getValues"); //取所有選中的編碼 ,是1個(gè)數(shù)組
var sValue = $("#prefecture").combotree("getValue");//獲得選中的編碼,單個(gè)的。
var sText = $("#prefecture").combotree("getText");取所有選中的文本,是1個(gè)String
如果是單選應(yīng)使用getValue,若是多選那末這里要將數(shù)組迭代轉(zhuǎn)成String,easyui會(huì)自動(dòng)改變提交參數(shù)的類型變成數(shù)組,致使后臺(tái)屬性為String時(shí)拿不到值。