58
rated 0 times
[
59]
[
1]
/ answers: 1 / hits: 49302
/ 12 Years ago, wed, june 20, 2012, 12:00:00
I'm studying javascript these days and I have question. I have variable that contain an url. I would like to save the content of the url pointed by my variable in another variable...
The first variable is something like:
var Link = http://mysite.com/json/public/search?q=variabile&k=&e=1;
If I open the link I see something like:
{
count: 1,
e: 1,
k: null,
privateresult: 0,
q: gabriel,
start: 0,
cards: [
{
__guid__: cdf8ee96538c3811a6a118c72365a9ec,
company: false,
__title__: Gabriel Butoeru,
__class__: entity,
services: false,
__own__: false,
vanity_urls: [
gabriel-butoeru
]
}
]
}
How can I save the json content in another javascript variable?
More From » html