Right now, for debugging purposes, I've set a webbrowser control on my
application to be visible. The webbrowser sometimes (occasionally)
fires a documentcompleted event but the page hasn't finished loading
yet (the control is blank white still). In the javascript on the
page, one line of code uses the getElementById method, but for some
reason, even though the "document is completed" the element somehow
hasn't loaded yet and the javascript returns an error because it
couldn't find an element with that id.
I don't get why documentcompleted doesn't fire properly.