This is a discussion on "Go back without using javascript" within the JavaScript Forum section. This forum, and the thread "Go back without using javascript are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Go back without using javascript
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Go back without using javascript
Hi all
As known to go back we use :
Thanks in Advance |
|
|
|
||||
|
Re: Go back without using javascript
I would use the big back button at the top of your browser....
Seriously though, I do not think there is a way to go back in your browser history without some sort of scripting.
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
|
||||
|
Re: Go back without using javascript
HTML is static!
COMPLETELY STATIC, DEAD, INACTIVE..... HyperText Markup Language.... It FORMATS text and nothing else....!!! </outburst>
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
|||
|
Re: Go back without using javascript
Don't try to build a complete user interface for your site. That's what a browser is for!
Let them use the back button. |
|
||||
|
Re: Go back without using javascript
Yeah, that you can't do this with HTML
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
||||
|
Re: Go back without using javascript
On a serious note
Could a spot of PHP and the use of $_SERVER['HTTP_REFERER'] be put to use? Something like
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
|
|
|||
|
Re: Go back without using javascript
Doesn't work for me...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
|||
|
Re: Go back without using javascript
It works fine for me. Are you sure that your server supports the HTTP_REFERRER superglobal?
Or maybe you just made a direct access to the page and there is no referrer? Check the source and see what it has in the link. |
|
|||
|
Re: Go back without using javascript
Oh, sorry guys! It's disabled on my server...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
||||
|
Re: Go back without using javascript
Sort of defeats the purpose though because a lot of browsers and servers don't set the HTTP_REFERER variable, not mention the fact that because it's a HTTP header, it can be modified.
Better off sticking with javascript (with a fallback to the HTTP header) or hard coding the links.
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| opera, back button & javascript interval | paza | JavaScript Forum | 4 | May 23rd, 2008 21:19 |
| I'm back :P | Weird1993 | Introduce Yourself | 8 | Jan 5th, 2008 13:43 |
| Back buton - several pages back - in HTML ? | attila001122 | Web Page Design | 1 | Dec 9th, 2007 15:51 |
| Post back to default page when generate javascript deepgrid in asp.net | zacklau | JavaScript Forum | 1 | Oct 2nd, 2007 10:18 |
| Problem with Javascript Back Button in Firefox | gorikain | JavaScript Forum | 4 | Jun 25th, 2007 22:23 |