Great idea using a fireEvent, I didn't even think of that I must be slipping in 
my old age.  

Thanks

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of Sanford Whiteman
Sent: Wednesday, December 29, 2010 2:12 PM
To: Andraž Kos
Subject: Re: [Moo] Event Change

> You really should use the "Moo way" of doing things. It will make things a
> lot easier in the long run when programs get more complex.

Your Moo-ified adjustment doesn't work in IE.

onChange  doesn't  fire  in  IE  until  the  element is blurred.  It's
possible  to  fire  blur()  manually, then re-focus() to preclude user
astonishment...   however,  that  path is unnecessarily cumbersome and
best practice from MS is to use (or wrap) click events.

Think  it's  also useful to work frameworkless once in a while (that's
the  way  the original Fiddle was set up, and I know Matthew knows Moo
well).

Anyway, Moo + cross-browser: http://jsfiddle.net/sanford/CBcFn/5/

-- S.

Reply via email to