Looking to make a fading div after 10 seconds.
I tried different things, but could not get the timer to work.
This is the code:
$('#deletesuccess').show();
Edit:
This is the full code:
function refreshTable() { //timestamp to get around ie caching issue var tsTimeStamp= new Date().getTime(); $('#deletesuccess').show().fadeOut(); $.get('table.php', {action: "get", time: tsTimeStamp}, function(data){ $('#customertable').html(data).fadeIn(); }); return true; }
I need to show the div and then hide it after x seconds.
source share