Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding applets in a JSP

Status
Not open for further replies.

blueindian1

Programmer
Apr 24, 2001
150
US
Howdy folks,

What I need to do is hide an applet in a JSP. I only want the applet to display when after an onClick event, and to go away on a pageUnload event. sort of like:

Code:
function displayApplet()
{
    //some code to make an applet appear
    window.onUnload="close the applet();"
}
<input type=&quot;submit&quot; onClick=&quot;displayApplet();&quot;>

The thing is, i can't figure how to hide the applet until i want it to start.

Any advice?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top