title: Remove jQuery AJAX timestamp from query string
body: <p>How can I remove the jQuery AJAX cache preventer (<code>_=3452345235</code>) when dealing with string URLs?</p>
  
  <p>I am writing a global AJAX fail handler and to do this I need to know which URL failed, but everytime I check the URL of the request which failed the jQuery cache query string means all my URLs are different so I need to remove this from the string before doing any more work</p>
  
  <p>So if my URL is (as a string, not <code>window.location</code>) is</p>
  
  <pre><code>/device/page/?page=2&amp;_=23523452345
  </code></pre>
  
  <p>I want to solely remove the timestamp to be left with</p>
  
  <pre><code>/device/page/?page=2
  </code></pre>