javascript - Why data.reponseText is empty -


why data.reponsetext in following code not contain while works in browser?

<!doctype html> <html> <head>   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>   <script type="text/javascript" src="jquery.xdomainajax.js"></script>    <script type="text/javascript">     window.onload = function() {       $.get('http://www.vtb24.ru/_layouts/vtb24.pages/currencyrateajax.aspx', function(data) {         console.log(data.responsetext);       });     };   </script> </head> <body> </body> </html> 

you can find "jquery.xdomainajax.js" here -- https://github.com/padolsey/jquery.fn/tree/master/cross-domain-ajax

thanks in advance.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -