File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes display values chosen from dropdown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "display values chosen from dropdown" Watch "display values chosen from dropdown" New topic
Author

display values chosen from dropdown

shah rah
Ranch Hand

Joined: Jan 04, 2007
Posts: 124
I have a dropdown and user can only choose 3 items from dropdown. Each time the user choses I need to display it in a "ui" tag near the dropdown.
Also, the user cannot choose more than 3 values. How can this be done?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Basic idea:



Hopefully you can figure how to set the innerHTML of the li's

Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: display values chosen from dropdown
 
Similar Threads
drop down list problemt - Pls Help
listbox
Question on RELOAD of JSP page AFTER facesMessage fixed
jsp + dropdown + automatically populate the vales from the db in the Text box
onchange event of drop down list - problem F1 pls