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

advance

advance( pageID )
Return type: no return value
Call this method to go to the next page. This is equivalent to pressing the Next button. The canAdvance property must be set to true for the page to be changed. The code in the onwizardnext attribute is called before the page is changed. The pageID argument allows you to specify the index of the page to which to jump. Supply null as the argument to go to the next page in the sequence.

Document Tags and Contributors

 Contributors to this page: Sheppy, ethertank, Marsf, Ptak82, Dria
 Last updated by: Sheppy,