I have an alerts system where the div where the alerts are is diplayed none, so when a new alert appears in my js I make a toggle to appear that alert on the screen so
$("#alerts").toggle( "slow" );
How do I make the alert stay for only 2 seconds on the screen and then disappear