y, January 04, 2010 9:55 AM
To: jQuery (English)
Subject: [jQuery] Callback in $.getJSON is called but variable assignment
doesn't persist.
Hi,
on the following code:
$.getJSON("http://www.tametick.com/test2/json/settings.json",function
(data) {
this.Settings = data;
alert(data)
Hi,
on the following code:
$.getJSON("http://www.tametick.com/test2/json/settings.json",function
(data) {
this.Settings = data;
alert(data);
alert(this.Settings);
});
which can be found on http://www.tametick.com/test2 (line 63 in
http://www.tametick.com/test2/js/cardinal-quest.js), I
2 matches
Mail list logo