jquery - Error "Overlarge sharp variable number" on ajax request -


I am trying to get data from other domains using jQuery. Here's the code:

  $ Ajax ({type: "GET", datatype: "script", url: "http://www.example.com/ajax.php", data: 'id = 5', success: function (msg) {console. Log (msg);}} Now, instead of the result, I get an error in the firebug console "fast variable number"?! How can I fix it? Ajax.php Print timestamp "|", Eq 1238925436 | 1256335200 | 1245925436 ... 

You successfully execute the X-Domain You can not cross in the browser. When the server side is required to use a proxy or using the json-p support Calling End.


Comments

Popular posts from this blog

SQL/PHP: Table design question -

NHibernate Passing Session to the Repository -

asp.net - How do I pass login ID as parameter to SharePoint login page? -