Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get clicked value of a listbox

Status
Not open for further replies.

sweetleaf

Programmer
Jan 16, 2001
439
CA
Hello,

Here's a DHTML question:
I have a list box filled with names. I want to be able to click on a name and display the name in a message box.
Does anyone know how to do that?

for ex:

<script language-vbscript>
'userz is name of listbox
sub userz_onclick()
aa = window.frm1.userz.(what goes here?)
msgbox(aa)
end sub

 
check out thread216-89589 - it deals with the same issue
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top