Great for ajax function that take too long!
This one shows 20 seconds..I think!
$(document).ready(function() { $("#submitme").click(function() { alert("hi"); $.ajax({ url: "count1.php", //this file will not produce anything as its not there? timeout: 20000, type: 'POST', error:function(){ alert("Oops, I could find the file, so i will show this") }, success: function(data){ $("#formResponse").html(data); } }); //end ajax }); //end click }); //end ready











