Hi,
How to read the Json data send from SharePoint Server side code in javascript?
I have the data as below in view source :
<script type="text/javascript">
var allDataBanner=[{"id":"2","Title":"image","DisplayOrders":"3","TestURL":"some url"},{"id":"3","Title":"amaze","DisplayOrders":"2","TestURL":"some url"},{"id":"1","Title":"logo","DisplayOrders":"1","TestURL":"some url"}]</script>I want to iterate through the data and fetch the values.
How to achieve this in Javascript?
Thanks