You could use window.setTimeout like this:

window.setTimeout(function() {
    $('#theDIV').hide();
}, 2000);

The setTimeout method takes a function and the time to delay in milliseconds.

--
Brandon Aaron

On 1/23/07, ronaldo <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> should be a simple question but its been doing my heading for 1 day now!!
> how can i make a div disappear after 2 seconds ?
>
> thanks
>
> T
> --
> View this message in context: 
> http://www.nabble.com/make-a-div-disappear-after-2seconds--tf3077754.html#a8550789
> Sent from the JQuery mailing list archive at Nabble.com.
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to