Proposal: error handling for getScript

Proposal: error handling for getScript

Hi guys,<div>
</div><div>working with getScript can be major pain because there's no way to actually find out if the include failed or not. There are two tickets</div><div>related to this in the bugtracker: <a href="http://dev.jquery.com/ticket/1768">http://dev.jquery.com/ticket/1768</a> and <a href="http://dev.jquery.com/ticket/321">http://dev.jquery.com/ticket/321</a> , but more specifically,</div>
<div>simply adding a onerror (doh!) callback to the script tag fixed the issue for me.</div><div>
</div><div>So even regardless of the best way to solve it,  I really think we need a featured solution for informing users that loading a script</div>
<div>has failed.</div><div>
</div><div>Any objections?</div><div>
--
Paul Bakaus
UI Architect @ <a href="http://smart.fm">smart.fm</a>
--
<a href="http://paulbakaus.com">http://paulbakaus.com</a>
<a href="http://www.linkedin.com/in/paulbakaus">http://www.linkedin.com/in/paulbakaus</a>
</div>