| Javascript: Return to Previous Page |
|
|
|
| Development - Javascript |
| Written by Rick |
| Thursday, 03 April 2008 10:03 |
|
Really simple code to return a user to the previous page in a browser. There are multiple ways of implementing the code; 1) In-line;
2) As a link;
3) As a button; Sorry no demo code for this method. Embedding "javascript:history.back()" in an OnClick event should do the trick. I haven't tried myself, yet.
Props to http://www.cryer.co.uk for posting sample code.
|





