Applet "clicking" on the browser's back button

Posted on 2010-01-11
Medium Priority
Last Modified: 2013-11-23
I have a simple webpage containing an applet.

My applet has an "Exit" button.

I want this button to act as the browser's "back" button, so whenever one clicks on the applet's "exit" button, the browser will browse to the previous page.

How can my applet access the browser's "back" button?
Question by:xcdev
LVL 15

Accepted Solution

Insoftservice earned 1500 total points
ID: 26281749

<a href="javascript:" onclick="history.go(-1); return false">

Author Closing Comment

ID: 31675404

You just forgot to mention how tp access javascript from my applet...

Don't bother though, found it anyway:

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question