when included in a Firefox addon xul file, jquery version 1.2.6 works (sync calls work, async calls

Posted by Delirium tremens on Stack Overflow See other posts from Stack Overflow or by Delirium tremens
Published on 2010-03-17T14:05:33Z Indexed on 2010/03/17 15:01 UTC
Read the original article Hit count: 261

In the Javascript Shell, I click the browser.xul link and:

$.ajax({url:'http://www.test.com/', async: false}).responseText; works

(async default is true)

$.ajax({url:'http://www.test.com/'}).responseText; doesn't work

what are the ways to make it work?

© Stack Overflow or respective owner

Related posts about firefox

Related posts about firefox-addon