How to find time elapsed between two consecutive requests?
<p>I have two checkboxes on selection of each one will raise a ajax request in order to get response from server. I need to call a method when there is atleast 2 seconds gap after the last request is made. Any idea? This means i do not want to call the methods when checkboxes are clicked continously for less than 2 seconds gap.</p>
