Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: "Richard Maher" Newsgroups: comp.lang.java.programmer,comp.lang.javascript Subject: Re: JSObject.call(method, ARGS) with Safari Date: Sun, 22 Apr 2012 15:07:33 +0800 Organization: HTTP *is* The Box - Let's think outside Lines: 36 Message-ID: References: NNTP-Posting-Host: jOhPn0KFjrxwuMc9OPMmCw.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-RFC2646: Format=Flowed; Response X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-Priority: 3 X-MSMail-Priority: Normal Xref: csiph.com comp.lang.java.programmer:13782 comp.lang.javascript:13525 "Richard Maher" wrote in message news:jn02en$5gp$1@speranza.aioe.org... > > "Daniel Pitts" wrote in message > news:YOGkr.11325$DB1.340@newsfe03.iad... >> Not sure if this helps, but in the past I've had to do some hacky >> work-arounds to work with JSObject. >> >> Check out: >> >> > > Anyway, I'll give your code/solution a go shortly but I'm not hopeful > given that I can't even get a simple appletWindow.call("topLevelFunction", > args) to do other than return "null". Without arguments is not a problem. > > So in the meantime if anyone knows of an example JSObject.call("sayHello", > WITHargs) that works in Safari can they please provide a pointer? > >> Daniel. As expected, still no joy and a nullpointer. (And now IE complains that you can't cast a String to JSObject) Thanks anyway. Anyone else done this on Safari? > Cheers Richard Maher > > PS. NO *NOT bloody EVAL* - call, Call, CALL()! >