This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes List Box Question (HTML) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "List Box Question (HTML)" Watch "List Box Question (HTML)" New topic
Author

List Box Question (HTML)

Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Hey everyone - I'm guessing this is an easy HTML question, but I just can't seem to find the answer.
I want to create a list box (not a drop down - I want the user to be able to see a large number of choices at one time). I can accomplish this if I use a SELECT tag and add the "MULTIPLE" attribute. Doing that will give me the list box look that I want, but I want the user to be able to select only one item from the list.
How exactly do I do that?
Thanks,
Corey


SCJP Tipline, etc.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
<select size="5" name="blah">
 
 
subject: List Box Question (HTML)
 
Threads others viewed
Editable Select Box ?
List choices.......
I want to fill a Listbox with values dynamically using JSP when I press a button
Urgent!!
select all in list box
developer file tools