my api gives me the json like following:-
{"url": "https://moviestarstorage.blob.core.windows.net/water/abhijeet.mp4"
}
for this output i wrote the following code:-
this gives me output in json format as mentioned above.@foreach (var item in Model){}$(function () {$("#btn").bind("click", function () {var url = "http://104.211.243.204/?container=comedy-movies&blob=" + encodeURIComponent($("#itemList").val());window.location.href = url;});});
Now i want to store the url value i.e
"url": "https://moviestarstorage.blob.core.windows.net/water/abhijeet.mp4" into a variable .How can it will done??
Please help me regarding this
Jayesh AgrawalPosted Mar 22, 2018, 11:30 AM