how to display a paragraph for some seconds on webpage code example
Example: how to display a paragraph for some seconds on webpage
function fun() {
$('p').hide(); //better to have id selector
}
var inter = setTimeout(fun, 1000); //1000 represents 1 second