Few days ago, Mike emailed me and asked me how can i call a server script( php file) from jQuery in every second.Since, there was no built-in mechanism for this in jQuery, I came up with this solution of displaying time of server using Ajax, PHP and jQuery.You can use setinterval() method avaiable in javaScript to accomplish this task using jQuery.
HTML Code:
<div align="center" id="timeval">--:--:--</div> <button id="stop">Stop</button>
There are mainly two elements one is
