Isn't it history.go(-2)
Just a thought.
-----Original Message-----
From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
Sent: 04 January 2001 14:41
To: CF-Talk
Subject: Re: Jacascript
I dont think you need the location href tag also try just using
window.back(2) or history.back(2) I don't think you need the - as it is
already specified you are going backwards. Could be wrong though but give
it a shot.
----- Original Message -----
From: "James Taavon" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, January 04, 2001 7:17 AM
Subject: OT: Jacascript
> I want to send the user back two screens after the alert. The following
> notation does not seem to work, it just keeps them at the same screen.
> FYI, the CFOUTPUT tags are valid.
>
>
>
> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
> <!--
> <cfoutput>
> alert("Work order #form.id# has been re-assigned to
> #Trim(form.assigned)#.")
> location.href='javascript:window.history.back(-2)'
> </cfoutput>
> file://-->
> </SCRIPT>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists