Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery append text for 5 seconds

$('body').append("<div class='message success'>Upload successful!</div>"); 
setTimeout(function(){
    $(".message").remove();
}, 5000);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #append #text #seconds
ADD COMMENT
Topic
Name
9+6 =