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!

some links may :

microtime() you.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -