reqwest icon indicating copy to clipboard operation
reqwest copied to clipboard

IE and JSONP

Open boazhachlili opened this issue 12 years ago • 2 comments

I've been trying to get IE8 to invoke the jsonp generalCallback, and finally I commented out lines 145 and 146:

// if this hack is used in IE10 jsonp callback are never called 145: script.event = 'onclick' 146: script.htmlFor = script.id = 'reqwest' + reqId

and things are working ok, including IE10.

Is this IE10 hack still necessary?

boazhachlili avatar Jan 27 '14 12:01 boazhachlili

interesting. i imagine these hacks were here for much older browsers. i'll have a look at the blame history and see the original intention

ded avatar Jan 27 '14 21:01 ded

@boazhachlili would you mind putting together a PR for all this. i bet the entire hack to begin with might not even be necessary...

ded avatar Feb 20 '14 05:02 ded