Check the readystate.
httpObject.ReadyState = 4
that means it's done loading. Then you can check the status
httpObject.Status = 200
that means you didn't mess up the URL. If readystate is 4 and status is 200, then you can read the responseText.