What is the use of history object?
From the current page or another page, you can navigate back and forward to previous pages using a browser's history object. History objects can be used in three different ways.
The previous page is loaded using history.back().
The next page is loaded using history.forward().
heritage.go(number) - For forward motion, the number might be positive; for backward motion, it can be negative. The specified page number loads.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is number in javascript?
What is the difference between rootscope and scope?
What is the main difference between Map collections and other collections such as Set.
How to replace all occurrences of a string in JavaScript?
Can you explain the difference between call and apply?
How do you assign object properties?
What does isNaN function do?
In a java script, what is the difference between "==" and "===" operator?
How to force a page to go to another page using javascript ?
How do I link an external javascript file to html?
What is JavaScript?
What is s+ in regex?