Post Reply  Post Thread 


javascript back and forward method
Author Message
Ecreation
Started Website


Posts: 15
Group: Newbie
Joined: Jul 2008
Status: Offline
Reputation: 0
Post: #1
javascript back and forward method

Using javascript way to navigate to the previous page and the next page(Back and forward button in the browser)
You can do this by using History object.
Method for going previous page
<FORM>
<INPUT TYPE="button" VALUE=" Back" onClick="history.back()">
</FORM>

for forward page
<FORM>
<INPUT TYPE="button" VALUE=" Forward" onClick="history.forward()">
</FORM>

07-28-2008 07:29 AM
Find all posts by this user Digg this Post! Add Post to del.icio.us Bookmark Post in Technorati Furl this Post! Add blinklist Add Mongolia Add Netscape Reddit! Stumble Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: