onerror seems to only work in Firefox. I can only see this implement for JSONP with a timeout that removes/empties the callback, it's currently impossible for getScript.
On Jun 30, 3:24 am, Paul Bakaus <paul.bak...@googlemail.com> wrote: > Hi guys, > 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 > related to this in the > bugtracker:http://dev.jquery.com/ticket/1768andhttp://dev.jquery.com/ticket/321, > but more specifically, > simply adding a onerror (doh!) callback to the script tag fixed the issue > for me. > > 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 > has failed. > > Any objections? > > -- > Paul Bakaus > UI Architect @ smart.fm > --http://paulbakaus.comhttp://www.linkedin.com/in/paulbakaus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---