Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有三个json文件,我想将这些json文件列表加载或获取到我的下拉框中。我怎样才能做到这一点angularjs?请帮助我,并提前感谢。我创建了Plnkr。
json
angularjs
我必须知道,我在下拉框中获取我的 json 值列表,方法是:
<select name="jsonfilenames"> <option name="none">Select</option> <option name="test1 json" >{{values1}}</option> <option name="test2 json">{{values2}}</option> <option name="test3 json">{{values3}}</option> </select>