Quantcast
Viewing all articles
Browse latest Browse all 10

how to populate a modal body dynamically from a json array?

$.ajax({ async: false, url: 'MyServlet', type: 'POST', data: { "nodeid": componentNodeId, "optype": OpType }, success: function (data) { $.each(data, function (key, value) { childId = value.ChildNodeId; deviceValue = value.DeviceValue; count++; }); } }); suppose I have a JSON array like "data": [{ "childId": "John", "value": "23" }, { "childId": "gay", "value": "56" }, { "childId": […]

The post how to populate a modal body dynamically from a json array? appeared first on BlogoSfera.


Viewing all articles
Browse latest Browse all 10

Trending Articles