title: jquery: Uncaught TypeError: $(...).error is not a function
body: <p>I am using jquery on my page and don't have problem with other parts. Even $.post and $.get are working fine.</p>
  
  <p>Now I am trying to evaluate if an image has any problems and tried this code:</p>
  
  <pre><code>$("#bib").error(function(){
     //nothing now 
  });
  </code></pre>
  
  <p>I am wondering why I  get this error:</p>
  
  <pre><code>Uncaught TypeError: $(...).error is not a function
  at app.js:53
  (anonymous) @ app.js:53
  </code></pre>
  
  <p>As you see I have shortened the code to isolate the problem but you get the whole idea. At the moment these jquery sources are included inside the page:</p>
  
  <p><strong><a href="https://code.jquery.com/jquery-3.1.0.min.js" rel="noreferrer">https://code.jquery.com/jquery-3.1.0.min.js</a>
  <a href="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js" rel="noreferrer">https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js</a></strong></p>
  
  <p>Any idea why this happens?</p>