ArturK. ArturK. - 1 year ago 69
Javascript Question

Jquery showing and deleting message

height: auto;
background-color: #C5FFB2;
border:1px solid black;
border-radius: 5px;

This is my css
I would like to show it and after few sec delate it.
How to do it. I was looking for some tutorials but I didn't find anything good.
Can anybody help me please

Answer Source

You could just set a timer on it. This would be 4 seconds.

setTimeout($('.newsUpdatedComplited').hide(), 4000);

You may need to change the visibility:hidden; to be display:none instead.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download