NOTE: It has come to my attention that this no longer works as of Firefox 3.0.11 (works in 3.0.8 on linux), IE8, or the latest version of Chrome. Apparently the trend is to disallow access to the xmlhttprequest.responseText before the request is complete (stupid imo). Sorry there's nothing I can do to fix this

this no longer works as of Firefox 3.0.11 (works in 3.0.8 on linux), IE8, or the latest version of Chrome. Apparently the trend is to disallow access to the xmlhttprequest.responseText before the request is complete