Re: [jQuery] Need help on HTML

2006-12-18 Thread tdminh
I tried to use .change() and .onechange() before but it seemed not work :-S I have a combo box and I want if user select 'Other', a textbox beside will be display :-S I will check again. Thanks for your help ;-) Chris Domigan wrote: You could use .change() instead of .click(). Chris

[jQuery] Need help on HTML

2006-12-17 Thread tdminh
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.

Re: [jQuery] Need help on HTML

2006-12-17 Thread Chris Domigan
You could use .change() instead of .click(). Chris ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/