It's not a secret anymore!*
The moose likes JSP and the fly likes Mark Element of List Box on Build Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Mark Element of List Box on Build" Watch "Mark Element of List Box on Build" New topic
Author

Mark Element of List Box on Build

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1436
Is there a way to mark as selected on certain line item of a list box as it is populated?

My list code:

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61084
    
  66

What do you mean by "mark"?

If you really mean "select", then add the selected attribute to the element.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1436
Thanks Bear.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mark Element of List Box on Build