Solved

cancel button functionality

Posted on 2001-08-06
2
153 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now