Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to pass a boolean when a button is clicked on HTML to a java applet.

I get you can pass parameters using param name and values but how do you edit those params using a button.

For example

<param name="isEng" value="false" />



controlled by a

<button onclick="setLang()">English</button></li>


I can't seem to get my head around it.

In short I want to be able to dynamically place a paramater value in the apps object through the HTML.
Posted
Updated 3-Oct-12 3:31am
v2

1 solution

You can use document.write to render the whole applet tag with the parameter applied from the button click.

http://www.devtech.com/SiteSurfer/doc/help/appscrip.htm[^]
 
Share this answer
 
v2
Comments
WurmInfinity 3-Oct-12 10:09am    
Could you give me an example or link me too one please?
Ashraff Ali Wahab 3-Oct-12 11:16am    
link added.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900