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

selectItemRange

selectItemRange( startItem, endItem )
Return type: no return value
Selects the items between the two items given as arguments, including the start and end items. All other items are deselected. This method does nothing for single-selection list boxes. A select event is sent after the selection is made.

Document Tags and Contributors

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