[jQuery] Need help on HTML

[jQuery] Need help on HTML


I want to use ajax to fill data into my combo and do something if they select
a value. Here is the idea:
$("#myddl").oneclick(function() { loadcontent(); });
$("#myddl").click(function() { do something; });
The code works if user click the combo and select a value but not if he uses
keyboard. Do we have some more beautiful code to solve it :D
I'm really appreciated. Thanks
--
View this message in context: http://www.nabble.com/Need-help-on-HTML-tf2831177.html#a7904271
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/