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
Solved

cancel button functionality

Posted on 2001-08-06
2
156 Views
Last Modified: 2006-11-17
the below script is working fine in netscape(4.7) & IE
but is not working fine in netscape6.0

<a href='javascript:history.back(-1)'>Cancel</a>

i want script to work in all the three browsers

thank you
0
Comment
Question by:geetash
2 Comments
 
LVL 15

Accepted Solution

by:
a.marsh earned 40 total points
ID: 6355548
Use either:

<a href="javascript: history.back();">Cancel</a>

or

<a href="javascript: history.go(-1);">Cancel</a>


:o)

Ant
0
 

Expert Comment

by:ComTech
ID: 6642151
Abandoned question has been awarded.

Best regards,
ComTech
Community Support Moderator
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
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)
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

828 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