Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #13813
| From | Richard Maher <maherrj@googlemail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer, comp.lang.javascript |
| Subject | Re: JSObject.call(method, ARGS) with Safari |
| Date | 2012-04-22 23:40 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <c5e9f046-ed19-4f45-aa5f-a280f0520f34@t2g2000pbl.googlegroups.com> (permalink) |
| References | <jmu16i$ij2$1@speranza.aioe.org> <YOGkr.11325$DB1.340@newsfe03.iad> <jn02en$5gp$1@speranza.aioe.org> <jn0anp$l3v$1@speranza.aioe.org> <Pc1lr.11621$M37.265@newsfe01.iad> |
Cross-posted to 2 groups.
Hi Arved,
On Apr 23, 8:17 am, Arved Sandstrom <asandstrom3min...@eastlink.ca>
wrote:
> On 12-04-22 04:07 AM, Richard Maher wrote:
>
> Since you mentioned Safari I did Safari 5.1.2 on
>>> Mac OS X 10.6.8 with <<<<
Well there goes 3 days of my life I'll never get back :-( I guess some
would say I deserve it for not being a OS/X user. I should have
pointed out that I was running Safari of Windows XP but on 2nd
thoughts, who cares? I can't see many users choosing to browse with
Safari on Windows so, in the grand scheme of things it can stay broke.
(Shame to not be able to test there though).
. A couple of other observations on Safari Liveconnect support for
those following at home
1) removeMember is not support on WIN or OS/X (Either does Chrome for
that matter)
2) WIN Safari supports get/set Member but OS/X does not
> Java Plug-in 1.6.0_31.
>
> The applet has text fields to take 2 numbers, a result text field, and a
> "submit" button. The JavaScript function is
>
> function addNums(one,two) {
> return one+two;
>
> }
>
> and the important 2 lines of code in the applet are
>
> JSObject win = JSObject.getWindow(this);
> Object sum = win.call("addNums", new Object[] {num1, num2});
>
> where 'num1' and 'num2' are java.lang.Doubles. So is 'sum'.
>
> There is not anything more to it. It worked just fine.
Yep, pretty wonderful and useful stuff eh?
Thanks for testing it for me.
>
> AHS
>
Cheers Richard Maher
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-21 18:12 +0800
Re: JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-21 18:15 +0800
Re: JSObject.call(method, ARGS) with Safari Lew <noone@lewscanon.com> - 2012-04-21 04:45 -0700
Re: JSObject.call(method, ARGS) with Safari Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-21 09:57 -0300
Re: JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-21 21:30 +0800
Re: JSObject.call(method, ARGS) with Safari Lew <noone@lewscanon.com> - 2012-04-21 13:07 -0700
Re: JSObject.call(method, ARGS) with Safari Lew <noone@lewscanon.com> - 2012-04-21 13:00 -0700
Re: JSObject.call(method, ARGS) with Safari Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-04-21 15:48 -0700
Re: JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-22 12:46 +0800
Re: JSObject.call(method, ARGS) with Safari "Richard Maher" <maher_rj@hotspamnotmail.com> - 2012-04-22 15:07 +0800
Re: JSObject.call(method, ARGS) with Safari Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-22 21:17 -0300
Re: JSObject.call(method, ARGS) with Safari Richard Maher <maherrj@googlemail.com> - 2012-04-22 23:40 -0700
Re: JSObject.call(method, ARGS) with Safari Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-23 20:40 -0300
csiph-web