title: SPServices update list item not updating
body: <p>I am learning sharepoint 2013 and trying to add items from web part. Below is my code. After I click submit button no error is shown but no item is added to the list. I have been trying my whole day to find out what is the problem but I could not figure it out. Please help.</p>
  
  <pre><code>&lt;script src="/ss14/14ss-55555/_layouts/15/l2passets/js/jquery.js" unselectable="on"&gt;&lt;/script&gt;
  &lt;script src="/ss14/14ss-%2055555/_layouts/15/l2passets/js/SPServices.js" unselectable="on"&gt;&lt;/script&gt;
  
  Email &lt;input name="email" id="email" type="text"&gt;&lt;br unselectable="on"&gt;
  Country&lt;input name="country" id="country" type="text"&gt;&lt;br unselectable="on"&gt;
  
  &lt;input value="Submit" onclick="addItem()" type="submit"&gt;
  
  &lt;script unselectable="on"&gt;
  var emailVal = $('#email').val();
  var countryVal = $('#country').val();
  
  function addItem(){
   $().SPServices({
  operation: "UpdateListItems",
  async: false,
  batchCmd: "New",
  listName: "Share Point List",
  valuepairs: [["Email", emailVal], ["Country", countryVal]],
  completefunc: function (xData, Status) {
  alert("Data Saved! and Please check your List");
  }
  });
  }
  &lt;/script&gt;
  </code></pre>