Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Showing ajax Django error
- $("body").ajaxError(function(a,xhr,c) {
- $("body").append(
- $("<div style="width:100%;height:100%;position:absolute;z-index:99999;top:0px;left:0px;background-color:#FFF">")
- .html(xhr.responseText)
- .dblclick(function(){$(this).remove()})
- )
- });
Add Comment
Please, Sign In to add comment