[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Ganeshji Marwaha
gotcha - thanks -GTG On 8/3/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > Ganeshji Marwaha wrote: > > klaus, how did u use timeout to prevent IE or Opera from firing change > > events... > > > > Or, did u mean that, to achieve cross-browser consistency, u didn't > > listen for change events, r

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Klaus Hartl
Ganeshji Marwaha wrote: klaus, how did u use timeout to prevent IE or Opera from firing change events... Or, did u mean that, to achieve cross-browser consistency, u didn't listen for change events, rather chose to poll the select on an interval? I'm simply delaying the handler being execu

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Klaus Hartl
Ganeshji Marwaha wrote: i guess, as others have said, the browser will fire change events only when the select box loses focus for keyboard navigation. But don't code for this feature making that assumption, as i don't think this behavior is the same across all browsers. Either IE or FF (i can

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Ganeshji Marwaha
klaus, how did u use timeout to prevent IE or Opera from firing change events... Or, did u mean that, to achieve cross-browser consistency, u didn't listen for change events, rather chose to poll the select on an interval? -GTG On 8/3/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > Ganeshji Ma

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Ganeshji Marwaha
i guess, as others have said, the browser will fire change events only when the select box loses focus for keyboard navigation. But don't code for this feature making that assumption, as i don't think this behavior is the same across all browsers. Either IE or FF (i can't remember which) fires chan

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Jack Killpatrick
Ah, yes, I see that now. Works for me ;-) thx for pointing that out! Dan G. Switzer, II wrote: When the user has changed the value with the keyboard, it will fire the change event when it loses focus. (I think that's right..) Correct. The browsers won't fire the onchange event on a sel

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Dan G. Switzer, II
>When the user has changed the value with the keyboard, it will fire >the change event when it loses focus. (I think that's right..) Correct. The browsers won't fire the onchange event on a select element when you're using the keyboard until you're "finished" changing the value--which when usin

[jQuery] Re: select .change event not firing on up/down arrow press

2007-08-03 Thread Collin Allen
When the user has changed the value with the keyboard, it will fire the change event when it loses focus. (I think that's right..) On Aug 3, 3:16 am, Jack Killpatrick <[EMAIL PROTECTED]> wrote: > Hi, wondering if anyone knows why this might be happening: > > I've attached a .change event to a se