*
The moose likes HTML, CSS and JavaScript and the fly likes doubt on html event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

doubt on html event

manas ranjan mandal
Ranch Hand

Joined: Apr 02, 2008
Posts: 97
The question is as follows
In one of my jsp there are 2 list boxes one represents that countries that i have visited(<5). Next to the list box i have another list box that automatically displays the capital of that country when ever i select a country which html event would be most suitable to achieve this feat?

and the options are

a)onBlur
b)onSelect
c)onClick
d)onChange

Thanks in advance
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60817
    
  65

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: doubt on html event
 
Similar Threads
How to insert at runtime using AJAX
List box problem
i have a doubt in this question
Optimize JSP Page loading time - very urgent......
dynamically load data in list box scroll bar comes to end