此程序与phonegap服务器运行良好,但无法与其他服务器或源代码运行,即(文件:/// C:/Users/samsung%20pc/Desktop/arts/www/index_1_2.html)
当我运行这个程序时,它给了我错误:
这个程序有什么问题。任何建议都没问题。 这是我的代码:
$(document).ready(function(){
$.ajax({
type: "GET",
url: "http://api.wolframalpha.com/v1/spoken?i=meaning+of+google&appid=...",
async: false,
dataType: "text",
success: function (data, textStatus, jqXHR) {document.write(data);},onerror:function(e){document.write(e);}});});