我正在尝试通过 Javascript 使用 WolframAlpha 的 API。我不明白为什么下面的代码会给我一个空警报。我是 jQuery 的新手,但有人告诉我这是在这里使用的最佳方法。
<html>
<head>
<script src="jquery-2.1.1.min.js"></script>
</head>
<body>
<script>
$.get('http://api.wolframalpha.com/v2/query?appid=77P9PL-2QAWEY86WV&input=2x&format=image,plaintext', function(responseText) {
alert(responseText);
});
</script>
</body>
</html>
非常感谢您的帮助