`delay` is not a function (jQuery 1.3)

penaswan

New Member
This is the error i'm getting from Firebug using jQuery in a function outside (and before) the \[code\]$(document).ready\[/code\] because it is used in a inline onclick event:\[code\]$("#_box").fadeIn(500).delay is not a function$('#_box').fadeIn(500).delay(3000).fadeOut(500);\[/code\]and this is the function:\[code\]function throwBox(message) { $('#_box').html(message); $('#_box').fadeIn(500).delay(3000).fadeOut(500);}\[/code\]Isn't \[code\]delay()\[/code\] a jQuery function?What happens in my browser is that the \[code\]fadeIn()\[/code\] function is called nicely and the box appear, but then stands there and doesn't disappear.
 
Top