- $(function() {
- // setTimeout() function will be fired after page is loaded
- // it will wait for 5 sec. and then will fire
- // $("#successMessage").hide() function
- setTimeout(function() {
- $("#successMessage").hide('blind', {}, 500)
- }, 5000);
- });
- //该片段来自于http://www.codesnippet.cn/detail/130120148513.html
来源: http://www.codesnippet.cn/detail/130120148513.html