wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 61092
    
  66

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]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: doubt on html event