title: jQuery ajax data post problem
body: <p>I've been searching to the answer for a while, I want to be able to parametrise my plugins AJAX values. So e.g. rather than:</p>
  
  <pre><code>$.post('test.aspx', { name: 'bob' }, function(data){
  ....
  });
  </code></pre>
  
  <p>I want to parametrise name and the value used in the post so e.g.</p>
  
  <pre><code>var var1 = 'name';
  var var2 = 'bob';
  $.post('test.aspx', { var1: var2 }, function(data){
  ....
  });
  </code></pre>
  
  <p>My problem is that it inserts the value 'bob' but posts it as 'var1' rather than 'name'. And on the server side it is expecting name not var1.</p>
  
  <p>Anyone got any ideas?</p>