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

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
LVL 1
indyngAsked:
Who is Participating?
 
smaccariCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.