I've tried this, but it does not catch change events trigged by the
keyboard. Why?

Brook

 -----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Andy Matthews
Sent: September 20, 2007 1:21 PM
To: [email protected]
Subject: [jQuery] Re: NEWBIE QUESTION: Catch Select event


I believe you'd want the change handler.

$("select").change(function() {
    //do some stuff here...
)};

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of hobbit
Sent: Thursday, September 20, 2007 1:22 PM
To: jQuery (English)
Subject: [jQuery] NEWBIE QUESTION: Catch Select event


Hi,

I would like to catch the select event when a user changes the select item
in any <SELECT> in a form.  Something like:

$("select").select(function() {
    //do some stuff here...
)};

Is this feasible?




Reply via email to