How can I add a GET param to some anchor elements in jQuery?
<p>I have a bunch of <code>a</code> elements and I want to add a GET param to their <code>href</code> attribute.</p>

<p>I want to use <code>?</code> or <code>&amp;</code> where appropriate.</p>

<p>For example, <code>http://example.com</code> should become <code>http://example.com?extra=true</code> and <code>http://example.com?already_got_a_param=true</code> should become <code>http://example.com?already_got_a_param=true&amp;extra=true</code>.</p>

<p>What code would do that?</p>
