macromedia.dynamic.html
[Top] [All Lists]

Re: GO BACK Button

Subject: Re: GO BACK Button
From: "Ken Ford" <newsgroups2@xxxxxxxxxxxx>
Date: Sat, 19 Jul 2008 09:57:53 -0500
Newsgroups: macromedia.dynamic.html


Try this:

href="javascript:history.go(-1);"

and make sure you use href instead of herf like you have in your example.

--
Ken Ford
Adobe Community Expert - Dreamweaver/ColdFusion
Fordwebs, LLC
http://www.fordwebs.com


"KirtiBajwa" <webforumsuser@xxxxxxxxxxxxxx> wrote in message 
news:g5rapu$q8q$1@xxxxxxxxxxxxxxxxxxxxxxxx
I am pretty new to DW CS3. I have a page "Terms & Conditions". A user can either press "I ACCEPT" or "I DECLINE" button. I ACCEPT button has a farm which goes to PayPal & it is working.

I DECLINE button is supposed to go back to the page one came from. The HTML code for the "I DECLINE" button is attached.

Problem is that nothing happens when "I DECLINE" button is pressed. PLEASE HELP.

Kirti

<a herf="document.location.history.go(-1);" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('IDecline','','images/btn_I_Decline_Over.gif',1)"><img src="images/btn_I_Decline_Over.gif" alt="I Decline" name="IDecline" width="100" height="22" border="0" id="IDecline" /></a>


<Prev in Thread] Current Thread [Next in Thread>