?
Solved

How do I modify history.go(-1)?

Posted on 2006-04-26
1
Medium Priority
?
474 Views
Last Modified: 2008-01-09
Hi Experts,

I have:

function BackToShipmentETA()
{
 history.go(-1)
 return true
}

But I want to include Unlock=1 at the end of the URL so depending on what the last web URL was it would look something like this:

http://cabrarn-248kn81.chep.com/intermodal/shipment_tracker/CN_ManageShipments.asp?Emailed=1&Unlock=1"

How can this be done?

Thanks
0
Comment
Question by:indyng
1 Comment
 
LVL 9

Accepted Solution

by:
smaccari earned 2000 total points
ID: 16544314
Unfortunately, you can not achieve this by using the history object.
This object will enable you to navigate into its contents, but neither to get the urls nor get its length.
You will have to explicitly call your page with the parameter you want.
0

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…
Suggested Courses

850 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