P
pasparto
Hi All
I am a newbie in javascript so excuse me if the question is so simple.
I have 2 urls that return javascript objects. How can I load these
objects into the objects in my code?
For example when you type url1 in the browser this appears:
{
"id": "123",
"title": "somestuff"
}
and when you type url2 in the browser this appears:
{
"name":"john",
"surname":"smith"
}
Now I want to use these 2 objects in a function in my code, how can i
do that?
Thanks in advance
I am a newbie in javascript so excuse me if the question is so simple.
I have 2 urls that return javascript objects. How can I load these
objects into the objects in my code?
For example when you type url1 in the browser this appears:
{
"id": "123",
"title": "somestuff"
}
and when you type url2 in the browser this appears:
{
"name":"john",
"surname":"smith"
}
Now I want to use these 2 objects in a function in my code, how can i
do that?
Thanks in advance