jquery-load-json
Version:
jQuery plugin that enables developers to load JSON data from the server and load JSON object into the DOM.
65 lines (64 loc) • 892 B
JavaScript
{
"towns":[
{
"value": 17,
"text": "Belgrade",
"regionid": 1
},
{
"value": 18,
"text": "Buchurest",
"regionid": 1
},
{
"value": 19,
"text": "Moscov",
"regionid": 1
},
{
"value": 20,
"text": "Kiev",
"regionid": 1
},
{
"value": 21,
"text": "London",
"regionid": 2
},
{
"value": 22,
"text": "Paris",
"regionid": 2
},
{
"value": 23,
"text": "Madrid",
"regionid": 2
},
{
"value": 24,
"text": "Lisabon",
"regionid": 2
},
{
"value": 31,
"text": "Berlin",
"regionid": 3
},
{
"value": 32,
"text": "Viena",
"regionid": 3
},
{
"value": 33,
"text": "Budapest",
"regionid": 3
},
{
"value": 33,
"text": "Prague",
"regionid": 3
}
]
}