select Function

Selects an option of a select box.

Summary

ElementFunction
ReturnsObject

Arguments

valNumberThe index of the option in the options array.

Example

handler.select(3);