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

ensureSelectedElementIsVisible

ensureSelectedElementIsVisible()
Return type: no return value
If the currently selected element in the list box is not currently visible to the user, the list box view is scrolled so that it is. If the item is already visible, no scrolling occurs.

Document Tags and Contributors

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