Guest User

Untitled

a guest
Aug 19th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Showing ajax Django error
  2. $("body").ajaxError(function(a,xhr,c) {
  3. $("body").append(
  4. $("<div style="width:100%;height:100%;position:absolute;z-index:99999;top:0px;left:0px;background-color:#FFF">")
  5. .html(xhr.responseText)
  6. .dblclick(function(){$(this).remove()})
  7. )
  8. });
Add Comment
Please, Sign In to add comment