• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mark Element of List Box on Build

 
Steve Dyke
Ranch Hand
Posts: 1619
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "mark"?

If you really mean "select", then add the selected attribute to the element.
 
Steve Dyke
Ranch Hand
Posts: 1619
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bear.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic