Log In · Register

 
Quick JavaScript question
ChasingLife87
post Jun 29 2005, 10:49 PM
Post #1


ich heisse Meli.
*****

Group: Member
Posts: 909
Joined: Apr 2005
Member No: 122,016



I know there is a simple javascript link code or something, where you can have, basically, a back button.

Like on a page, you can have a link that says "back", but you don't have to type in the url for each page, it's just a javascript code that works the same way as a browser back button.

Talk much, Meli? You sound like a n00b.

But I know this exists because I've seen it on other sites, I just can't seem to find it now pinch.gif
 
 
Start new topic
Replies
*mipadi*
post Jun 30 2005, 07:20 AM
Post #2





Guest






If you want it to actually be a button, you can modify it like this:
CODE
<input type="button" value="Back" onClick="history.back(-2)" />
.
I imagine that might work.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: