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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

765 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