the problem is whenever I use $.get, $.post or $.ajax, I can't find a way to trigger a callback when the server is processing something. I can do it with the ajaxform plugin via the beforeSubmit method, but with the formerly mentioned functions, I can't find a way to do it. $.ajax has a beforeSend method, but according to the documentation all it does is call a "callback to modify the headers". I want a callback to do something like block the page, show a popup, display an animated gif etc.
Is there a way to show that the server is processing a request via the $.ajax, $.get, $.post, $()load?
Thanks in advance!