Archive for the ‘Javascript’ Category

Showing Listview values

Monday, November 21st, 2005

Use the following code to get the text value of the selected item in a ListView:
Form1.lstContacts.options[Form1.lstContacts.selectedIndex].text

Use the following code to get the value of the selected item in a ListView:
Form1.lstContacts.options[Form1.lstContacts.selectedIndex].value