Hi
I declared
applet in <
jsp :p lugin> tag as
<jsp :p lugin type="applet" code="Aplt.class" codebase="/examples/jsp/plugin/applet" name="Fractal" jreversion="1.3"
iepluginurl="\Serv\JavaRunTime/j2re-1_3_1-win.exe"
nspluginurl="\Serv\JavaRunTime/j2re-1_3_1-win.exe"
width="500" height="120" >
Now i need to to call applets public methods from my
java script. How can i do this.
In my code i called like this
document.Fractal.change();
in <java :p lugin> tag i used name attribute to assign reference to my applet, i used 'Fractal' as my applet reference name.
but the above call is giving error as
document.Fractal is null or not an object.
If i am using <OBJECT> tag for declaring applet i am able to call the applets methods from javascript.
ps:
I disabled the smiles so that the :P doesn't show up as a smile. regds.
- madhav
[ April 12, 2002: Message edited by: Madhav Lakkapragada ]