title: in weppy how can i send data to python from javascript using ajax()
body: <p>I am trying to send an id number to my weppy backend via ajax
  I have tried as many things as I can think of but am sure I just don't understand how to do it.    </p>
  
  <p>I have collected an id from my HTML page on click  and would like to send it to the server script 
  right now my ajax looks like</p>
  
  <pre><code>$(.testclick).click(function(e){
    var idnum = e.target.id;
    ajax("{{=url('post')}}", [], ':eval');
  });
  </code></pre>
  
  <p>I have tried including the idnum variable in multiple places hoping to figure it out with no such luck</p>
  
  <p>the post function looks like </p>
  
  <pre><code>@app.route()
  def post(idnum):
    idnum = idnum
    print(idnum)
    return
  </code></pre>
  
  <p>right now I am just trying to make it work it doesn't actually do anything but print to the console atm</p>
  
  <p>thanks in advance!</p>