Dunno why I keep prettying this up but here: http://mootools.net/shell/8T7Jj/1/
Guess I just needed something to do -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Steve Onnis Sent: Tuesday, March 02, 2010 8:06 PM To: [email protected] Subject: RE: [Moo] input onselect event I have the onblur already. I also have an onkeyup as I want things changing on the fly. I thought also I could tie a ondoubleclick into it and then run something to check the value and when it changes to cancel the process but the input doesn't accept doubleclick as an event -----Original Message----- From: Barry van Oudtshoorn [mailto:[email protected]] Sent: Wednesday, 3 March 2010 11:44 AM To: [email protected] Subject: Re: [Moo] input onselect event As far as I am aware, no. To do this, you'd probably have to disable the browser's autocomplete functionality, and roll your own. OnChange should, however, be firing when the contents of the input changes. If it's not, I'd say your best bet would ve to tie into the onBlur event, and compare the value with what was there before. - Barry Sent from my Apple πPhone On Wednesday, March 3, 2010, Steve Onnis <[email protected]> wrote: > > > > > > Is there an event > that can be fired when a user double clicks a text field and the user choose > from the list of previously entered values the browser shows up? I have tried > change, focus and click but none of them seem to work. > > Steve > -- http://barryvan.com.au/ [email protected]
