title: Using Ajax to Send Data Back to the Server
body: <p>I understand there is a method <code>send</code> for <code>xmlHttpRequest</code> objects, but I've been working on this site all day and I'm unable to find any halfway decent tutorials on the subject and my brain feels like mush. Ajax is hard.</p>
  
  <p>What I'm trying to do is send data from one Javascript file back to a PHP script on the server, where the data is simply a string and a small number. Is this possible? Why can't I find a good article on the subject?</p>
  
  <p><strong>tl;dr</strong> How do I use the <code>send</code> method to pass a string and a number from a javascript file to a php file?</p>