location.history object is a history of the Object Browser can be used to forward and backward.
1, back () method
history.back();
Browser history will record the original address, this method will return to the previous page. The above is equivalent to the browser "back" button.
2, forward () method
history.forward();
Browser history will record the original address, this method will advance to the previous page. The equivalent of the browser above the "forward" button.
3, go () method
history.go(1/-1);
When the value of 1 indicates a forward, a backward -1 means.