From: Olivier F. <oli...@ne...> - 2003-09-22 09:00:55
|
Hello, =20 I wonder if a popup can execute a javascript function contained in its = parent. =20 Code called from the pop up window : parent.opener.addElementToList(value); =20 =20 This code throws the followong exception : =20 Exception class=3D[org.mozilla.javascript.EvaluatorException] com.gargoylesoftware.htmlunit.ScriptException: The undefined value has = no properties. at = com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScr= iptEngine.java:199) at = com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(H= tmlPage.java:770) =20 Thanks, =20 Olivier =20 =20 |