What does Next property do in History object?

 Posted by Rajesh_Kumar on 2/21/2014 | Category: JavaScript Interview questions | Views: 657 | Points: 40
Answer:

The Next is also an static property of History object which contains the complete URL of the next element in the History list.This functionality or the URL visited is the same as pressing the forward button or menu.

In other words,we can say that,it returns the URL of the next document in the history array.

Syntax:
history.next


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response