H I O X INDIA
Javascript Tutorial
Google
Web hscripts.com
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Directories 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)   Bookmarks :-)  
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

Java-Script Tutorial
Introduction
Variables
Operators
Statements
Loops
Functions
Objects
Arrays
Browser Objects
Form DOM
Ask Your Doubts
Feedback





History Object Functions


Topic

How to go backward or forward pages using javascript?



Explanation

History Object: History Object has the complete list, information of url/links visited during this session. Its methods or functions can be used to move forward(next page) or backward(previous page). We can also go to any link or url page in the history list.

History object also has the following properties
PropertyDescription

next

Property "next" represents the next page url in the history object list, if any.

previous

Property "previous" represents the previous page url in the history object list, if any.

current

Property "current" represents the current page url in the history object

length

Property "length" returns the number of objects in the history list.


Methods or Function:
The following are the methods defined under history object.



        Javascript (JS) is one of the most used languages in the world. Some times spelled as Java Script. Hope you enjoy this tutorial. Do send your feedback or suggestions on this javascript or java script tutorial. This is a copyright content.

others

privacy policy     license     sitemap
© 2004-2005 HIOX INDIA - hioxindia.com

Other Links