aspose file tools*
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
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
Greenhorn

Joined: Jan 22, 2010
Posts: 29
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: 61232
    
  66

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
Greenhorn

Joined: Jan 22, 2010
Posts: 29
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 ?
 
jQuery in Action, 2nd edition
 
subject: selecting between two list boxes