请穿下面的阴道。 我正试图在<代码>fcbkcomplete方框中拿到选定产品的标子,并在文本箱中以
http://jsfiddle.net/balac/xDtrZ/1/
我增加了<代码>json.txt。 本报告载有类似数据。
[{"key":"2", "value":"Canon Powershot "},{"key":"3", "value":"Fastrack Bag"},{"key":"4", "value":"Iphone 4 "},{"key":"5", "value":"Levis Jeans"},{"key":"7", "value":"Indig"},{"key":"8", "value":"Dashing Cars"},{"key":"9", "value":"dsdas"},{"key":"10", "value":"fsfs"}]
In the above json value key is the id which I want to display in the textbox as comma separated values. value is the value which will be coming in the dropdown for selection.
while selecting the values in the drop down i want the corresponding key to get added in the textbox as comma separated values.
问题是,在案文箱中,没有增加第一个项目的关键。
希望是具体的,并说得很详细。 如果有人想要澄清,请我作更多解释。