RICHARDH
asked on
Passing a value toJavaScript
I want to create a slider in java which can be used to pass a value to a javascript function located on the same page at the Applet.
Is this possible, and if so how.
Is this possible, and if so how.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you have netscape (3+) installed, you should add the path to the netscape java classes into the CLASSLIB environment variable.
You can easily view the netscape classes by making a copy of it and renaming that copy to *.zip. Then you can open it using winzip.
If you have MSIE4 installed you will find it under one of the directories of C:\windows\java.
If you have found the right zip containing JSObject.class then add it to the CLASSLIB environmental variable:
something like:
CLASSLIB = C:\JDK\LIB\CLASSES.ZIP;C:\ NETSCAPE\N AVIGATOR\P ROGRAM\JAV A\CLASSES\ java_30
You can easily view the netscape classes by making a copy of it and renaming that copy to *.zip. Then you can open it using winzip.
If you have MSIE4 installed you will find it under one of the directories of C:\windows\java.
If you have found the right zip containing JSObject.class then add it to the CLASSLIB environmental variable:
something like:
CLASSLIB = C:\JDK\LIB\CLASSES.ZIP;C:\
sorry, CLASSLIB should be CLASSPATH
ASKER
Many, many thanks for a very precise answer. I have one further question.
Where do I get the Netscape.javascript class which is imported into the Applet.
Thanks again