From: Mike B. <mb...@Ga...> - 2004-03-30 21:51:08
|
Dave Smith wrote: > If I understand you then I'm going to guess it is Array or Function, but > here is the offending code... All the standard javascript functions are implemented by the Rhino engine so I'd guess that Array and Function aren't the problem. The parts that HtmlUnit needs to implement are the browser specific host objects like Form and Window and Frame. It might be the array indexing part of Form that is the problem. > var field = form[oRequired[x][0]]; It would appear that field is null so form[] is not returning the object you need. What is the value being passed into form[]? Does it match the name attribute of an object inside that form? Or is it an index? -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |