1
我有dojox.form.CheckedMultiSelect
:Dojo。從JSON設置屬性作爲HTML屬性
<span dojoType="dojo.data.ItemFileReadStore" url="..." jsId="listStore"></span>
<select id="unsubscribedList" class="soria" dojoType="dojox.form.CheckedMultiSelect"
multiple="true" onchange="..." store="listStore" title="title"></select>
JSON的店面看起來像:
{"items":[{"title":"ESC, MICHAEL (MESC)","value":"1000","label":"ESC, MICHAEL"},...}]
,"totalCount":7,"endList":7,"label":"label","identifier":"value","startList":1}
我怎樣才能從JSON設置爲 「items.title
」 屬性作爲HTML屬性 「稱號」到每個複選框將爲CheckedMultiSelect
創建?
怎麼就這樣猶豫不決?有問題,或者你有EM排序? – mschr 2012-07-27 16:52:59