$.getJSon with setTimeout problem?

$.getJSon with setTimeout problem?

I make a call to the twitter API. 100 posts are retreived + a properties that tells me what the next page to call is. So I wait 5 sec. and call that next page, but the JSon results in the callback function is always null the second time... I think it's probably a JQuery problem...

Here's the code to test it if you want :           

          







  1. type="button" onclick="test();" value="test" />
    />



So, at line 20, at the second callback (back from the 1st setTimeout call), the parameter "jsonPostsResults" is always returned as null... I have no idea why. If I copy paste that 2nd request in a browser, it returns 100 results. Anybody had a problem like that when calling the $.ajax function with a setTimeout?