[jquery-dev] Re: Proposal: error handling for getScript

2009-07-02 Thread Ricardo
Quick test put together with the object check: http://jsbin.com/ifuti/edit - works in IE8. On Jul 1, 2:39 pm, Dave Methvin wrote: > Definitely requires some extra work and testing to get right on all > browsers. > > http://stackoverflow.com/questions/538745/how-to-tell-if-a-script-tag... > > May

[jquery-dev] Re: Proposal: error handling for getScript

2009-07-01 Thread Dave Methvin
Definitely requires some extra work and testing to get right on all browsers. http://stackoverflow.com/questions/538745/how-to-tell-if-a-script-tag-failed-to-load Maybe the inline code trick would work for IE? http://www.webdeveloper.com/forum/showthread.php?t=186216 --~--~-~--~~--

[jquery-dev] Re: Proposal: error handling for getScript

2009-06-30 Thread John Resig
A patch that implements something like this would be considered seriously. --John On Tue, Jun 30, 2009 at 6:05 AM, Ricardo wrote: > > 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 f

[jquery-dev] Re: Proposal: error handling for getScript

2009-06-30 Thread Ricardo
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 wrote: > Hi guys, > working with getScript can be major pain because there's no way to actuall