Oh, ok - thanks for the heads-up, Scott. --John
On Wed, Jan 7, 2009 at 11:53 AM, Scott González <scott.gonza...@gmail.com> wrote: > > I don't think this is actually a problem with jQuery. All previous > releases of jQuery UI are incompatible with jQuery 1.3. jQuery UI's > current SVN is compatible with 1.3 and incompatible with 1.2.6. I > tried running the above event handler against a current demo (http:// > jquery-ui.googlecode.com/svn/trunk/demos/tabs/default.html) and it > worked properly. > > On Jan 6, 1:11 pm, "John Resig" <jere...@gmail.com> wrote: >> Thanks for the sample code, Garrett. It's on my todo list. >> >> --John >> >> On Mon, Jan 5, 2009 at 11:14 PM, Garrett LeSage <garre...@gmail.com> wrote: >> >> > Hi everyone! >> >> > I'm testing 1.3 beta 2 with the project I'm working on... and noticed >> > bind seems to act slightly different, compared to 1.2.6. >> >> > In jQuery 1.2.6, bind accepts (type, [data], fn). This is the same in >> > 1.3b2, except that it appears fn is passed three arguments instead of >> > two. The new second argument seems to be the triggered binding's >> > namespace. >> >> > Example: If one wanted to bind to the tabsselect event (to perform an >> > action when a tab is selected) in jQuery UI tabs, something like the >> > following would work in 1.2.6: >> >> > $("#notebook>ul").tabs().bind("tabsselect", function(e, ui){ >> > console.log("You clicked " + ui.tab); >> > }); >> >> > This causes an error in jQuery 1.3 beta 2. If the example code is >> > changed to function(e, namespace, ui), it works. >> >> > Garrett > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---