title: add parameter to links on page using jquery
body: <p>How do I add let's say something like <code>ajax=1</code> to all links on my page with jquery. I will also need to check if the url has existing parameters. for example <code>http://example.com/index.php?pl=132</code> will have to become <code>http://example.com/index.php?pl=132&amp;ajax=1</code></p>
  
  <p>Also, if the link does not have any parameters, for example <code>http://example.com/index.php</code>, it will become <code>http://example.com/index.php?ajax=1</code> I want to load the jQuery script on document ready so all links are changed on page load.</p>