title: How to catch error in jQuery's load() method
body: <p>I'm using jQuery's <code>.load()</code> method to retrieve some data when a user clicks on a button.</p>
  
  <p>After the load successfully finishes, I show the result in a <code>&lt;div&gt;</code>.</p>
  
  <p>The problem is, sometimes an error occurs in <code>load()</code> while retrieving the data.</p>
  
  <p>How can I catch an error in <code>load()</code>?</p>