padolsey-archive / jquery.fn

A collection of jQuery plugins
http://james.padolsey.com
The Unlicense
1.1k stars 717 forks source link

[cross-domain-ajax] Not works since YQL API's update #33

Open pocka opened 7 years ago

pocka commented 7 years ago

Summary

jquery.xdomainajax.js does not works properly since Yahoo! updated YQL API.

It says html table is no longer supported. in response.

Detail

The cross-domain-modified jquery.ajax passes {responseText: ""} to the callback parameter.

Workaround

Use htmlstring table instead.

Samples

I wrote sample code (version that not working and fixed one), you can see what happened in live examples on their github pages. (I tested these samples on FireFox)

frankjmclarke commented 7 years ago

jquery.xdomainajax-fixed.js does actually fix my broken script. Thanks!

caffeinatedMike commented 7 years ago

Your workaround @pocka is amazing. This is phenomenal work, thank you!