Toggle callback destroyed by UI effects?

Toggle callback destroyed by UI effects?


Hi there
If I change code using toggle and a anonymous call back from
$(document).ready(function() {
$("button").click(function() {
$("p").toggle("slow", function() { alert('hey'); });
});
});
to the following (using the UI-effect slide instead of slow) the call
back never fires:
$(document).ready(function() {
$("button").click(function() {
$("p").toggle("slide", function() { alert('hey'); });
});
});
I'm new to jQuery and jQuery UI please help.
Brandt
















    • Topic Participants

    • spam