Updates the attributes of a particular item.
public void setItem( int index, String strText, boolean fSel, String strValue )
index
The index of the item to be updated.
strText
The new text of the item.
fSel
The new selected state of the item.
strValue
The new VALUE attribute of the item (for HTTP form submissions).
If index does not correspond to an item currently in the list, a new item with the specified attributes is added to the list.
Specifying a parameter as null leaves its value unchanged. Use an empty string ("") to clear a string value.