I have the current lists obj in

tempobj

I want to get its value, of the selected item.

so I tried

tempobj.option(tempobj.selectedIndex)
and
tempobj.list(tempobj.selectedIndex)

How do I get that?