148
rated 0 times
[
152]
[
4]
/ answers: 1 / hits: 159186
/ 11 Years ago, tue, april 2, 2013, 12:00:00
I use getJSON to request a JSON from my website. It works great, but I need to save the output into another variable, like this:
var myjson= $.getJSON(http://127.0.0.1:8080/horizon-update, function(json) {
});
I need to save the result into myjson
but it seems this syntax is not correct. Any ideas?
More From » jquery