LISTBOX:
  --------
  
  Element: SELECT

  You can use all the properties, events and methods availables for them via DOM.

  Syntax:

  	ListBox( oParent , nRow , nCol , aOptions , aValues , nSize [, nSelectedIndex] )

  Methods:

  	- getValue( nIndex )
  	- setValue( nIndex , cValue )
  	- setSelectedIndex ( nIndex )
  	- getSelectedIndex()
  	- getId()

  Example:

  	oList = new ListBox( oForm , 140 , 270 ,
  		[ 'one' , 'two' , 'three' ] ,
  		[ 'value one' , 'value two' , 'value three' ] , 3 , 1 );

  	alert ( oList.getSelectedIndex() );



 To download this example - click here.

See Also: