I want to have a timeout after 5 seconds and then display “Unable to fetch page”. But im not sure how to go about it… Heres what I got so far…
$(document).ready(function() {
$('#content').html('<br><br><br><br><img src="load.gif" border="0"><br><br><strong>Generating Link...</strong>');
$("#content").load("ajax.php");
})
1 Answer