I have a string such as <html><body><div id=\"message\">Hello World!</div></body></html>
IE has attribute readyState in document object, that indicates current state, e.g. "loading", "complete" etc.