I've created a ticket for this: http://dev.jqueryui.com/ticket/4181
As a temporary workaround you can pass an empty hash as the second
parameter:
.toggle("slide", {}, function() { alert("hey"); });
On Feb 15, 11:16 am, Brandt <[email protected]> wrote:
> Hi there jQuery gurus
>
> If I use jQuery UI effects with toggle, my call backs doesn't seem to
> fire.
>
> If I change say:
>
> $(document).ready(function() {
>
> $("button").click(function() {
> $("p").toggle("slow", function() { alert('hey'); });
> });
>
> });
>
> into using the jQuery UI effect "slide" instead of the build in jQuery
> "slow":
>
> $(document).ready(function() {
>
> $("button").click(function() {
> $("p").toggle("slide", function() { alert('hey'); });
> });
>
> });
>
> the anonymous call back function isn't called anymore. Why is that?
> Anyone?
>
> best regards
>
> Michael Brandt Lassen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---