日期:2014-05-17 浏览次数:20930 次
var data = [{
"id":1,
"text":"text1"
},{
"id":2,
"text":"text2"
},{
"id":3,
"text":"text3",
"selected":true
},{
"id":4,
"text":"text4"
},{
"id":5,
"text":"text5"
}] ;
var options = {
data : data,
textField:'id',
valueField:'text'
}
$("#Column1").combobox(options);