Editor Arrow Download Open
<!DOCTYPE html> <html> <head> <title>jQuery ajaxError() event method</title> <script src="jquery-latest.min.js"></script> <script> $(document).ready(function() { $("button").click(function(event){ $("#msg").load('filenotfound.txt'); }); $(document).ajaxError(function(){ $("#complate").text("File not found! Probably removed."); }); }); </script> </head> <body> <p id="complate">Response</p> <button>Click here to call ajaxComplete() method</button> <br /><br /> <div id="msg" style="background-color:pink;">New contains update here</div> </body> </html>
  Preview Arrow