title: Ajax calls made from Google Spreadsheet Custom Function
body: <p>Has anyone ever tried to write a script inside a Google Spreadsheet to make an ajax call to a website?</p>
  <p>I want to make it so that the spreadsheet updates itself from the website. But after just putting this short block of code, I get thrown an error:</p>
  <blockquote>
  <p>&quot;ReferenceError: &quot;XMLHttpRequest&quot; is not defined.&quot;</p>
  </blockquote>
  <p>Any idea? Do I have to call a certain library?</p>
  <pre><code>xmlhttp=new XMLHttpRequest();
  xmlhttp.open(&quot;GET&quot;, eventObject[1], true);
  xmlhttp.send();
  </code></pre>