0
我正在嘗試使用select2來獲取遠程JSON數據並將其顯示爲多級別。 http://ivaynberg.github.io/select2/index.htmlselect2中的多選項
這是我的迴應
{
"Company": [
{
"name": "athenahealth Inc"
},
{
"name": "Localiza Rent a Car"
},
{
"name": "M and B Switchgears"
}
],
"Functional": [
{
"name": "arranger"
},
{
"name": "ambassadors"
}
],
"Persons": [
{
"name": "Moustapha al"
},
{
"name": "Saleh al"
}
]
}
我要顯示的結果中多值格式 - http://ivaynberg.github.io/select2/index.html#multi
到目前爲止,我能夠來從服務器端的數據,但後來我有不知道如何啓用多重選擇選項。