Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


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: 1462
    
    1
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: 61315
    
  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: 1462
    
    1
Thanks Bear.
 
GeeCON Prague 2014
 
subject: Mark Element of List Box on Build