When I add a callback to show / hide, my element starts animating. I do not want it. I just need to add the function AFTER completion / hiding.
I cannot nullify the time because I am using the option-based function (the element MAY be animated, but if it is not needed, it should just show-hide. It does not work on a callback :(
Is there a neat trick to elimizing animations in show / hide? OR is there any other way to add the AFTER animation function?
Thanks in advance!
The solution found! Just do:
show('','', function()...
source share