[jQuery] Re: 1.3 and toggle()

2009-01-31 Thread gmacgregor
On Jan 30, 7:08 pm, John Resig wrote: > It looks like you're trying to use a jQuery UI effect - maybe that's why? Thanks John. Forgive my ignorance, but how does jQuery know that you're calling the toggle() UI effect as opposed to the toggle() core effect? For example: // toggle UI $("p").click

[jQuery] Re: 1.3 and toggle()

2009-01-30 Thread John Resig
It looks like you're trying to use a jQuery UI effect - maybe that's why? --John 2009/1/30 gmacgregor : > > Consider this markup: > > > Foo > > Hello! > > > > Since upgrading to 1.3, this no longer works: > > $('div.holder h4').click(function() { >$(this).toggleClass('close'); >