View Full Version : Please tell me, what is wrong with my "Back" Script?

09-29-2004, 02:20 AM
Hello, can you help me?, I preferred to have the domain URL static in my website (I don't want show the url of my webstore provider). I placed the back script in a page, and it doesn't work, but with the browser back button is working normally
When I use the script give me this error:
Page url:.../ppg_tarjetas/cerrajero_zam01/onclick=history.go(-1), Not found

I made something wrong in this back script? :confused:
<A title="back to previous page" href="onclick=history.go(-1)"><font color="#FFFFFF">Back</font></A>

Thanks for your help.
God bless you.

09-29-2004, 03:42 AM
Don't put onclick inside href...
It should be like this :

<A title="back to previous page" href=# onclick="history.go(-1)"><font color="#FFFFFF">Back</font></A>:)

09-30-2004, 02:42 AM
Like before, thanks gigabites... all is working properly!

God bless you