Initially I thought this might be due to the following situation: I have this problem in a script (called onload of html body) in a
jsp which is included in another main jsp.
I thought may be while executing the (included) jsp to generate html, this document is not ready completely or may be does not exists. Then I just copied the whole page from the included JSP and put it in the main JSP itself. It did not work still, giving the same error message. However works good without script errors, in couple browsers, when you access the app through them.
Anyone have any thoughts. Or does anyone has scripts with document.createElement at body onload event through HttpUnit
testing...
I cannot turn off scripting while testing because our app relies on this.