title: Swapping two text box values
body: <p>I have two text box values:-</p>
  
  <pre><code>var pickup = $('#txt-pickup');
  var destination = $('#txt-destination');
  </code></pre>
  
  <p>and I want to swap the two values as follows:-</p>
  
  <pre><code>pickup.val(destination.val());
  destination.val(pickup.val());
  </code></pre>
  
  <p>However, the above will always set both values as the same value. (same as the destination value)</p>
  
  <p>Is there a way of changing both of these at the same time?</p>