Rob wrote: Where you're checking the request status you're creating a new request each time. You need to store the XHR object from the request and use that (untested):
var xhr = $.post("/myhandler.php", params); while (xhr.status != 200); With Firefox 2, I'm getting this error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://pglatz.lifewire.com/sites/pglatz.lifewire.com/modules/plugger/plugger_category.js :: plugger_debug :: line 194" data: no] [Break on this error] while (xhr.status != 200); This is part of a Drupal site, if that makes any difference. thanks