[jquery-dev] Re: Binding "change" on an select though .live() doesn't seem to work in IE using jQuery 1.4

2010-01-25 Thread Mattias Hallström
Great news :-) Thanks for the fix! On 19 Jan, 11:52, matiasnu wrote: > On Jan 18, 11:42 pm, alexander farkas > wrote: > > > The code explained above will fix this issue. > > Great, and John has now committed the fix. Let's hope 1.4.1 is not too > far away! ;) -- You received this message beca

Re: [jquery-dev] Re: Binding "change" on an select though .live() doesn't seem to work in IE using jQuery 1.4

2010-01-19 Thread John Resig
> Great, and John has now committed the fix. Let's hope 1.4.1 is not too > far away! ;) It'll be out by Friday. --John -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To u

[jquery-dev] Re: Binding "change" on an select though .live() doesn't seem to work in IE using jQuery 1.4

2010-01-19 Thread matiasnu
On Jan 18, 11:42 pm, alexander farkas wrote: > The code explained above will fix this issue. Great, and John has now committed the fix. Let's hope 1.4.1 is not too far away! ;) -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to th

[jquery-dev] Re: Binding "change" on an select though .live() doesn't seem to work in IE using jQuery 1.4

2010-01-18 Thread alexander farkas
The bug happens due to the fact, that jQuery "cleans up the event in case it is reused" in his trigger method (e.target = elem). If a change is detected the current implementation calls trigger with the element as the elem-argument for trigger. (with live: in most cases the document/with bind: in m

[jquery-dev] Re: Binding "change" on an select though .live() doesn't seem to work in IE using jQuery 1.4

2010-01-18 Thread matiasnu
Added TRAC ticket: http://dev.jquery.com/ticket/5851 -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To unsubscribe from this group, send email to jquery-dev+unsubscr...@goo

[jquery-dev] Re: Binding "change" on an select though .live() doesn't seem to work in IE using jQuery 1.4

2010-01-18 Thread Mattias Hallström
My misstake. It "almost works. If we run this on a page where content doesn't come via ajax, it doesn't work! Also it's not enough just to run this.live() on "none ajax content" either, but when we chain bind and live it works. //Mattias On 18 Jan, 11:51, Mattias Hallström wrote: > We have the

[jquery-dev] Re: Binding "change" on an select though .live() doesn't seem to work in IE using jQuery 1.4

2010-01-18 Thread Mattias Hallström
We have the same problem, but found out that it works if we chain bind and live like this: this.bind("change", function(e){ // Do nothing }).live("change", function(e){ }); Not sure why though?! //Mattias On 16 Jan, 14:34, mape wrote: > The example works fine in Firefox

[jquery-dev] Re: Binding "change" on an select though .live() doesn't seem to work in IE using jQuery 1.4

2010-01-17 Thread alexander farkas
I have looked into this. The "trigger-line" in the testChange-function has to be changed from this: return jQuery.event.trigger( e, arguments[1], this ); to this: return jQuery.event.trigger( e, arguments[1], elem ); Additional It seems, that there was a typo. The condition above contains the f