This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes selecting between two list boxes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "selecting between two list boxes" Watch "selecting between two list boxes" New topic
Author

selecting between two list boxes

Amol More
Ranch Hand

Joined: Jan 22, 2010
Posts: 32
hey everyone

i have placed two listboxes on my form and i want to find out which list box
has been selected at runtime what will be the method for doing it in javascript
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63226
    
  69

Please take the time to choose the correct forum for your posts. This forum is for questions on JSP. For more information, please read this.

This post has been moved to a more appropriate forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 928

by 'selected', do you mean focus ?
try this code:



My Website: [Salvin.in] Cool your mind:[Salvin.in/painting] My Sally:[Salvin.in/sally]
Amol More
Ranch Hand

Joined: Jan 22, 2010
Posts: 32
sorry for selecting the wrong foroun its because i am new i am not used but thank you for letting me know
and also thanks for the reply
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 928

salvin francis wrote:by 'selected', do you mean focus ?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: selecting between two list boxes
 
It's not a secret anymore!