javascript
- From: "Ayrton" <alfonsopaglia@xxxxxxxxx>
- Date: Thu, 28 Jul 2005 15:25:31 GMT
I've make a simple applet for use javascript function.
When the browser is IE, no problem, but if the browser is netscape 7,
when ... JSObject.getWindow(this); ... the message is ": at netscape.javascript.JSObject.getWindow(Unknown Source) ...".
Why ?
Thanks
import netscape.javascript.*; import java.awt.*;
public class Provajs extends JApplet {private JSObject window = null;
public void init(){}
public void start(){window = JSObject.getWindow(this);
String[] message = { "Oggi fa molto caldo!"};
window.call("alert", message);}
}
-- Questa è una firma automatica di MesNews. Sito: http://www.mesnews.net
.
- Follow-Ups:
- Re: javascript
- From: Andrew Thompson
- Re: javascript
- Prev by Date: Re: URI
- Next by Date: Re: Is a static method sufficient to call it factory?
- Previous by thread: Client side Selector sharing
- Next by thread: Re: javascript
- Index(es):
Relevant Pages
|