unless I am missing something...
just change the -1 to -2
I had just done this on one of my client's pages.. If a search comes up
empty I simply do a
cfif GetDetails.RecordCount EQ 0
cfset ICameFrom = Javascript:history.go(-2)
cflocation url=#ICameFrom#
/cfif
I happen to know the search process
a href=javascript:history.go(-2);go back 2/a
- Original Message -
From: Kris Pilles [EMAIL PROTECTED]
Is there away to make the back button do history -2 instead of -1 on
certain pages... I am trying to bypass a form post page to return my
users to where they origiannlly came from...
history.go(-2)
At 03:52 PM 6/3/2003 -0400, you wrote:
Is there away to make the back button do history -2 instead of -1 on
certain pages... I am trying to bypass a form post page to return my
users to where they origiannlly came from...
Any ideas...
Kris Pilles
Website Manager
Western Suffolk
You can't change the back button in the browser per say... but you can do
one of the following:
input type=button name=backButton value=Back
onClick=history.go(-2);
OR... you can look into usage of the javascript Replace() command to replace
the current url... that way the current page will NOT
No, I want to control the back button on the acutal brownser
-Original Message-
From: CF Dude [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 4:07 PM
To: CF-Talk
Subject: Re: Back Buttons
a href=javascript:history.go(-2);go back 2/a
- Original Message -
From: Kris
sounds like he wants to override the browser back button, naga naga naganahappen
if not, don't mind me
-Original Message-
From: Cassidy Symons [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 4:09 PM
To: CF-Talk
Subject: Re: Back Buttons
history.go(-2)
At 03:52 PM 6/3/2003 -0400
-
From: Cassidy Symons [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 2:09 PM
To: CF-Talk
Subject: Re: Back Buttons
history.go(-2)
At 03:52 PM 6/3/2003 -0400, you wrote:
Is there away to make the back button do history -2 instead of -1 on
certain pages... I am trying to bypass a form post
to override the browser back button, naga naga
naganahappen
if not, don't mind me
-Original Message-
From: Cassidy Symons [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 4:09 PM
To: CF-Talk
Subject: Re: Back Buttons
history.go(-2)
At 03:52 PM 6/3/2003 -0400, you wrote
Put a redirect to the first page on the middle page that gets triggered when
it finds a variable you set on the third page.
Ade
-Original Message-
From: Kris Pilles [mailto:[EMAIL PROTECTED]
Sent: 03 June 2003 20:53
To: CF-Talk
Subject: Back Buttons
Is there away to make the back
9 matches
Mail list logo