title: Need jQuery code to append parameters to all urls contained in a div
body: <p>I need a jQuery code snippet which appends the parameter <code>action=xyz</code> to all urls within a page - note it should also check that if the urls already have other parameters appended or not: e.g., for a url such as <code>index.php?i=1</code> it should append <code>&amp;action=xyz</code> and for urls without parameters like <code>index.php</code> it should append <code>?action=xyz</code>.</p>