javascript - How to determine a execution time of a PHP, jQuery, AJAX script -
in 1st condition :
i passing values using jquery ajax php file named email.php. want script executed 20 secs after 20 secs should throw error max execution time reached can execute through jquery ajax via getting response.
in 2nd condition
i want determine execution time of jquery code. ex: if have got value through fields , have sent server, somehow if server not respond want script execution time, if script has executed more 20 secs terminate process , display error message of network error!
Comments
Post a Comment