Thank you for quick answers. However, problem still exists. Latter
alert-function would still fail, because variables wouldn't be set yet at
that moment (I will need those variables later in another call to server).
Problem falls back to asyncronous loading. Isn't there an easy way to use
syncronous loading, without touching jquery.js -file itself?
var seed_id;
var seed;
[...]
createSeed(function() {
alert(seed_id+"|"+seed);
});
alert(seed_id+"|"+seed);
--
View this message in context:
http://www.nabble.com/Setting-a-global-variable-tf2764461.html#a7713125
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/