i sometimes do something like

var i;
$.getJSON("url", function (json) {
   // update i
   i = json.var;
});

how can i access the updated i outside the function(json)...?

Reply via email to