[jquery-dev] Re: jQuery breaks fast history navigation

2008-09-27 Thread Michael Geary
This wasn't a bug in Firefox 1.5 (where the feature was introduced), it was a deliberate design decision - the reason being code like jQuery and the Google Maps API that unbinds event handlers on an unload event. If an app is written to unbind its event handlers on unload, and isn't aware of the

[jquery-dev] Re: Unelegant Code

2008-09-27 Thread Matt
On Sep 26, 1:58 pm, "John Resig" <[EMAIL PROTECTED]> wrote: > But that reminds me. I've been wanting this for a long time: > $("#one").click(false); That would be handy, and I would also still like to pass a string in some cases, as described here: http://groups.google.com/group/jquery-en/browse_

[jquery-dev] Re: jQuery breaks fast history navigation

2008-09-27 Thread JeroenH
Hi, On Sep 27, 3:21 pm, "John Resig" <[EMAIL PROTECTED]> wrote: > A couple issues I see. > 1) Completely removing the functionality for Opera, Safari, and FF 3 > seems like a bad idea - we like to make sure that everything is > cleaned up after we're done. The only browser that has these memory

[jquery-dev] Re: Unelegant Code

2008-09-27 Thread E. Myller
@Matt and it's easy, but is a bad design. passing strings to work like functions is ugly and not limited. On 9/27/08, Matt <[EMAIL PROTECTED]> wrote: > > On Sep 26, 1:58 pm, "John Resig" <[EMAIL PROTECTED]> wrote: >> But that reminds me. I've been wanting this for a long time: >> $("#one").click

[jquery-dev] Re: jQuery breaks fast history navigation

2008-09-27 Thread John Resig
A couple issues I see. 1) Completely removing the functionality for Opera, Safari, and FF 3 seems like a bad idea - we like to make sure that everything is cleaned up after we're done. 2) Is there some alternative event that we should be binding to for Opera in order to clean up our event bindings

[jquery-dev] jQuery breaks fast history navigation

2008-09-27 Thread JeroenH
Hi, Both Opera and Firefox allow "fast history navigation", or "bfcache". In that mode, they remember the state of the previous page, including event handlers. Because of bugs in IE and FF<3, jQuery currently removes event handlers on "unload" (the last few lines of events.js). That means that w

[jquery-dev] Re: $.ajaxSetup({mydata:this}) does not work in version 1.2.5 onward

2008-09-27 Thread sui-sing Lai
haha... how can't I figure that out :) l learn one. however I was able to use the .ajaxSetup to pass the "this" pointer during version 1.2.3. is there a need to fix that? Thanks, sglai 2008/9/25 Ariel Flesler <[EMAIL PROTECTED]>: > Or > > var A = function() {}; > A.prototype = { > get: functi