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 unshift method in JavaScript?
What is the difference between synchronous and asynchronous JavaScrip
What would you use javascript for?
What is a prompt box in javascript?
Can array in javascript be extended?
Methods get and post in html forms - what's the difference?
What is noscript tag?
How to make a array as a stack using javascript?
What is a module in javascript?
How is javascript different from java?
How to check if a variable is an integer in javascript ?
What does “1?+2+4 Evaluate to? What about 5 + 4 + “3??