javascript - Hide div after a few seconds -


I was wondering how in jquery I am able to hide a div after a few seconds? For example, like Gmail's message.

I have tried my best, but I am unable to work on it.

This will hide the deck after 1 second (1000 milliseconds).

  setTimeout (function () {$ ('# mydiv'). FadeOut ('sharp');}, 1000); Use           / html> 

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -