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 list box Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "list box" Watch "list box" New topic
Author

list box

DHANANJAY DHANANJAY
Greenhorn

Joined: Sep 02, 2005
Posts: 4
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

Joined: Nov 08, 2001
Posts: 15357
    
    6
.text

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56204
    
  13

"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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: list box
 
Similar Threads
Javascript Parameter
Passing Parameters through JSP
Populating text box based on selected droapdown
How to create a h:selectOneMenu with a default value?
Best way to create a combo-box (editable selectBox)?