Window setInterval() Method

setinterval

Alert “GEMCODE” every 5 seconds (5000 milliseconds):

Hide alert Message After Few Seconds With JQuery ?

hidealertmessage

Display an alert box after 20 seconds (20000 milliseconds): To Hide alert Message use .hide in setTimeout Tips: The setTimeout() method calls a function or evaluates an expression after a specified number of milliseconds. Tip 1: 1000 ms = 1 second. Tip 2: The function is only executed once. If you need to repeat execution, … Read more