Hello all,

I am trying to use a callback function on the show() effect.
http://jqueryui.com/demos/show/

For the callback argument it tells me this:
"A function that is called after the effect is completed.".
That's exactly what I want.

But, I can't seem to figure it out.

$('#details_'+onderwerp).show('blind', options, 500, onOnderwerpChange
(onderwerp));

function onOnderwerpChange(onderwerp) {
        alert(onderwerp)
}

The problem is that the alert() is executed before the effect is
completed. The effect itself works fine.
What do I do wrong?

Thanks in advance for your replies.



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to