Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

advanceSelectedTab

advanceSelectedTab( dir, wrap )
Return type: no return value
If the argument <var>dir</var> is set to 1, the currently selected tab changes to the next tab. If the argument <var>dir</var> is set to -1, the currently selected tab changes to the previous tab. If the <var>wrap</var> argument is true, the adjustment will wrap around when the first or last tab is reached.

Document Tags and Contributors

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