Hmm, not a good sign. :)
So are you getting a javascript error?
I wonder if the problem is you are calling to set up another http request while you are still in a handler for another one. I don't see why it would be a problem, but maybe.
how about changing the post handler again to this.
Code:
http.onreadystatechange = function() {//Call a function when the state changes.
if (http.readyState == 4) {
if (http.status == 200) {
setTimeout(showComments, 0);
}
}
}
Basically what that does is immediately generate an event to call showComments() when all other current events are handled.
What browser are you testing in again?
david_kw