Subj : Re: document.createElement... To : Jalpesh Patadia From : Igor Bukanov Date : Wed Sep 24 2003 12:43 pm Jalpesh Patadia wrote: > I was using the HTTPUnit classes, (which in turn use rhino to execute > javascript) to execute some jsp's containing javascript. > > > I was getting an javascript error using in my pages, and the error is > described below. It seems that createElement is not supported by the > rhino classes. Basically I was trying to append new hidden input types > to my form using javascript. Now this page seems to work fine using > Mozilla 1.1 and higher, but rhino seems to be unhappy about it. On > looking at the source code, it seemed that the createElement method is > not yet supported - but I could be wrong. Rhino is just a JavaScript engine that supports core ECMAScript standard and few useful extensions like Java scripting. It does not define or support any DOM functionality that in your case is provided by HTTPUnit. Please report to HTTPUnit guys that they do not provide bindings for Document.createElement Regards, Igor .