🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2110

Re: Calling a JavaScript function from an applet

#2110
From: Vladimir Patryshev
Date: Sun, 20 May 2001 19:23
18 lines
1640 bytes
A well-known trick is to write a listener in JavaScript that would poll the applet, say, two times a second, and inquire whether there is something to do. :) Funny, but it works.

Fabian Ottjes wrote:

> Hello,
>
> I'm writing a Java applet and have to make a call to a JavaScript function.
>
> Both the applet and the script are in the same .html-page. Does the JDK
> provide functionality for something like that?
>
> Thanks

--
Vlad Patryshev,
International Integration Engineer,
JBuilder, Borland
(831)431 1165
Technical Details
Message-ID: <3B0819AF.C64A7F6C@borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!e420r-sjo4.usenetserver.com!news-out.usenetserver.com!newshub2.rdc1.sfba.home.com!news.home.com!feeder.via.net!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <9depe2$h38$01$1@news.t-online.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,c7416d5007e4af20
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-05-20 12:44:02 PST
Message-ID: <3B0819AF.C64A7F6C@borland.com>
Date: Sun, 20 May 2001 12:23:28 -0700
From: Vladimir Patryshev <vpatryshev@borland.com>
Organization: Borland
X-Mailer: Mozilla 4.72 [en] (WinNT; U)
X-Accept-Language: en,ru,es-AR
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: Calling a JavaScript function from an applet
References: <9depe2$h38$01$1@news.t-online.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 10.143.12.139
X-Trace: dnews 990386604 10.143.12.139 (20 May 2001 12:23:24 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!e420r-sjo4.usenetserver.com!news-out.usenetserver.com!newshub2.rdc1.sfba.home.com!news.home.com!feeder.via.net!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews