Hi,
use netscape.javascript.JSObject class from java40.jar. U can find
this class in ur Netscape browser directory.
JSObject class can be used as
JSObject jso = JSObject.getWindow(this);
jso.call(funcName,args);
Cheers,
Sabari Arasu
> -----Original Message-----
> From: anoop [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, December 26, 2001 9:34 AM
> To: [EMAIL PROTECTED]
> Subject: Java Script
>
> Hi all,
> Can anybody tell me how do i include javascript for an Applet.
> Actually i have a button in the applet which calls showDocument()
> and i want my javascript function to be called when i click on this
> button, so that the page sizing etc..can be done by the javascript.
>
> thanx in adv..
> aoop
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html