title: Handling errors in jQuery.getScript
body: <p>jQuery's <a href="http://docs.jquery.com/Ajax/jQuery.getScript" rel="noreferrer">getScript</a> function doesn't seem to support an error callback function. I can't use the global ajax error handling code here, a local error function would be ideal. </p>
  
  <p>Documentation that the callback gets data/textStatus seems incorrect - the callback gets neither.</p>
  
  <p>Any suggestions on how I detect that a call to getScript failed (server not available, for instance)?</p>
  
  <p>EDIT: Just looked at source, and it seems like the callback is only invoked on success, with data always set to null and textStatus not defined (since it's a success-only callback, I presume). The documentation is very incorrect for this function.</p>