嘿伙计们,你们中的任何人都试过在Google电子表格中写一个脚本来对网站进行ajax调用.我想这样做,以便电子表格从网站更新自己.但是在刚刚放入这么短的代码块之后,我就会抛出一个错误:"ReferenceError:"XMLHttpRequest"没有被定义." 有帮助吗?我必须打电话给某个图书馆吗?
xmlhttp=new XMLHttpRequest();
xmlhttp.open("GET", eventObject[1], true);
xmlhttp.send();
Run Code Online (Sandbox Code Playgroud) javascript ajax google-sheets google-apps-script google-spreadsheet-api