From: Mike B. <mb...@Ga...> - 2003-09-22 10:21:57
|
Olivier Fourel wrote: > I wonder if a popup can execute a javascript function contained in its > parent. > > Code called from the pop up window : > parent.opener.addElementToList(value); > > > This code throws the followong exception : > > Exception class=[org.mozilla.javascript.EvaluatorException] > com.gargoylesoftware.htmlunit.ScriptException: The undefined value has > no properties. I would guess (without looking at the code) that either parent or opener hasn't been implemented yet. Please open a feature request for this. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |