Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 25th, 2007, 10:44 AM
Registered User
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using Javascript history function

 Hi all,
      I have a series of webforms and I want a button on every form to call a separate webform to display the history of the webforms accessed since the initial webform. I was thinking about placing nothing but href links in the new window (displayed from clicking the button) to reference the javascript function of history. For example, when the new page is launched after the button is clicked it would bring up :
     <a href="(onClick="history.go(-1);")>Go Back</a>
    <a href="(onClick="history.go(-2);")>Go Back</a>
     <a href="(onClick="history.go(-3);")>Go Back</a>
 and so on, but I was wondering, will this recognize the actual history from the page where the button was launched or the actual page where this code is contained (in the new window)
         If there is an easier way to do this please let me know. Thanks for you help!

Similar Threads
Thread Thread Starter Forum Replies Last Post
stop current javascript function using javascript sakthi Javascript 3 June 2nd, 2008 03:30 PM
How to call javascript function from VB function vinod_yadav1919 VB How-To 0 February 13th, 2006 06:03 AM
get value from javascript function suzila ASP.NET 1.0 and 1.1 Basics 6 December 3rd, 2005 10:38 AM
Is there a Dir() Function with JavaScript rguidry Javascript How-To 2 October 3rd, 2005 11:54 AM
Problem with a Javascript function SuMajestad PHP How-To 4 August 17th, 2004 09:04 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.