title: Save parameter from link on page as var in javascript
body: <p>I apologize for the lack of code on this one. I am totally lost on a starting point.</p>
  <p>On a website there is a link such as the following:</p>
  <p><code>&lt;a href=&quot;/mywebsite?accountId=00T122233ABCEFG123&amp;otherInforHere=blablablablabla&quot; target=&quot;_blank&quot;&gt;This Is My Link&lt;/a&gt;</code></p>
  <p>I am trying to get the accountId of <strong>00T122233ABCEFG123</strong> and use it as a variable. The link that appears above does not have an id, so there is no way to target it other than to find &quot;accountId&quot; on the page, as it only appears in the page once.
  Any help is greatly appreciated.</p>