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

Jayesh AgrawalRank #707 · 3.4K reputationPosted Mar 22, 2018, 7:30 AM EDT