Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

list box

 
DHANANJAY DHANANJAY
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suppose I have created a LIST BOX

List.options[0]=new Option('text','value');

I can acess the 'value' using List.option[0].value...

How can I access the 'text' ?

Dhananjay
[ September 10, 2005: Message edited by: Bear Bibeault ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
.text

Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64985
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"DHANANJAY DHANANJAY",

You have already been asked once to chnage your display name to conform to JavaRanch standards.

This is not optional. Accounts with invalid display names are removed.

Take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. And please, make it mixed case.

bear
Forum Bartender
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic