junaidqadir.com
jQuery - Prevent Multiple AJAX Requests - Junaid Qadir
Many times we do not want to take any other requests of the same type while one is still in progress. A normal post request looks something like: /** *Let's define a variable that acts similar to the 'On Air' light. When *its active (true in this case), we…