[jQuery] Re: jquery.ajax with async=false is not synchronous with remote files

2009-07-31 Thread Benedikt
Hi Maxim, thanks for your idea, I've tested it. - with firefox 3.5 under ubuntu -- ajax: false and true, with one, or two script-tags and a local script-src it always works as expected -- with a remote file and one script-block it always works like having stated async: true with two script bl

[jQuery] Re: jquery.ajax with async=false is not synchronous with remote files

2009-07-31 Thread Benedikt
Hi Maxim, thanks for your idea, I've tested it. - with firefox 3.5 under ubuntu -- ajax: false and true, with one, or two script-tags and a local script-src it always works as expected -- with a remote file and one script-block it always works like having stated async: true with two script bl

[jQuery] Re: jquery.ajax with async=false is not synchronous with remote files

2009-07-30 Thread Maxim Slavutsky
Try to work this way: jQuery.ajax({ url: 'http://someremoteurl/js/test2.js', async: false, dataType: 'script' }); console.log('nach ajax');

[jQuery] Re: jquery.ajax with async=false is not synchronous with remote files

2009-07-30 Thread Benedikt
sorry, here it comes: jQuery.ajax({ url: 'http://someremoteurl/js/test2.js', async: false, dataType: 'script' }); console.log('nach ajax'); With a remote script you will read the

[jQuery] Re: jquery.ajax with async=false is not synchronous with remote files

2009-07-30 Thread Benedikt
sorry, here it comes: jQuery.ajax({ url: 'http://someremoteurl/js/test2.js', async: false, dataType: 'script' }); console.log('nach ajax'); With a remote script you will read the

[jQuery] Re: jquery.ajax with async=false is not synchronous with remote files

2009-07-30 Thread MorningZ
Posting sample code of what you think doesn't work would help others help you On Jul 30, 11:37 am, Benedikt wrote: > Hi, > > I am calling a remote javascript file a need it called synchronously. > > jquery's ajax call does not work in this situation... even with async > set false remote js-fil