I am showing following code as successful updation of records. The user remains on the same Edit section & see's this msg just above update button.
I want this msg to disappear as user can still edit the records.
How to hide this success msg?
<div class="label label-success" data-ng-show="updateStatus">
<span class="glyphicon glyphicon-thumbs-up icon-white"></span>updated!
</div>
Just add this after you add the success message
setTimeout(function(){$('.label-success').slideUp();},3000); //slidup after 3 second
the above code will slideup the message after 3 second
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