ListBox and Javascript

  • Thread starter Thread starter James T.
  • Start date Start date
Sure, onsubmit higlight all values in listbox2 (using javascript) and on
postback use request.Form.

problem with this approach is that you don't know what the value selected
was....so if you need to know which item the user selected in listbox2:

on submit, FIRST copy the selected value of ListBox2 to a hidden text field,
THEN select all fields in listbox2...

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top