padolsey-archive / jquery.fn

A collection of jQuery plugins

Home Page:http://james.padolsey.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

pocka opened this issue · comments

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)

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

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