I have this ajax event
function save_response_with_ajax(t){
var form = $(\'#edit_\'+t);
var div = $(\'#loading_\'+t);
$.ajax({
url: form.attr(\"act
Use jQuery ajaxStart()
to append a Div to your document. Set it to the size of your document with some form of semi-transparent document. Then remove it on ajaxStop()
.
Try appending an overlay during the "beforeSend" function:
$("body").prepend("<div class=\"overlay\"></div>");
$(".overlay").css({
"position": "absolute",
"width": $(document).width(),
"height": $(document).height(),
"z-index": 99999,
}).fadeTo(0, 0.8);