Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

gotoIndex

gotoIndex( index )
Return type: no return value
Navigate to the page in the history with the given index. Use a positive number to go forward and a negative number to go back.

Document Tags and Contributors

 Contributors to this page: Sheppy, Marsf, Mgjbot, Marcoos, Dria
 Last updated by: Sheppy,