The callback needs to be a function. $j(".dialogBookingError").show(200, function() { $j(this).effect("highlight",{},650); });
On Oct 6, 9:10 am, Dennis Madsen <den...@demaweb.dk> wrote: > I have this code sample: > > $j(".dialogBookingError").show(200).effect("highlight",{},650); > > I would like the effect first to run after the show is finish. > Therefore I try: > > $j(".dialogBookingError").show( 200, $j(this).effect("highlight",{}, > 650) ); > > But it does not work. Hope someone can help me!