title: How to send date values to ajax request to webapp handler
body: <p>I am trying to achieve plot a graph between two dates using google charts. basically i want to send date values to the controller which is written by using webapp2. i don't know how to send date values to controller using ajax. </p>
  
  <ol>
  <li>how to retrieve date(input) values in the ajax block.</li>
  <li>how to send date values to controller.</li>
  </ol>
  
  <p>This is the JS function:</p>
  
  <pre><code>$(document).ready(function(){
          $.ajax({
          url: "/tutorial",
          contentType: "application/json",
          context: document.body,
          success: function(response){
          var data1 = JSON.parse(response);
          //alert(data1);
          createChart(data1)
      }});
  </code></pre>