javascript - Getting syntax error, unexpected token with jQuery .ajax() method from YQL JSON -
After
I am following one of the following jQuery and am trying to get the following error:
not caught Syntax error: Unwanted token; I'm currently trying to use this code:
$ ajax ({type: "GET", url: "http: // Pipes?. Yahoo.com / pipe / pipe.run _ id = 57aa32bf3481c8dca0c07afcf9b9dc29 & amp; _render = json ", async: false, beforeSend: function (x) {if (x & amp; amp; x; OverrideMimeType {x.overrideMimeType ("application / json; charset = UTF-8");}}, datatype: "json", success: function (data) {warning ("success");}}); I'm not as comfortable as JSON / JQuery / JS, but this is not really my primary area of expertise;) I really appreciate any help.
Is this your problem?
X & amp; Amp; Amp; Instead of X.overrideMimeType
x & amp; Amp; X.overrideMimeType
Comments
Post a Comment