Im using the following alert and I want it to be toggle after 2 sec,how should I do that ?
<div class="alert alert-info">
<a href="#" class="close" data-dismiss="alert">×</a>
data was saved
</div>
$('#alert').fadeIn('slow').delay(2000).fadeOut('slow');
JSBin Example
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With