title: Get values of parameters from URL
body: <p>I’m working on a tool which takes the value parameters in the URL and does a few things with them.</p>
  <p>My issue is, I can’t seem to use document.location to show the specific value  that I’m after, for example:</p>
  <p><code>www.examplesite.com?yourname=gilgilad</code></p>
  <p>I want to use <code>document.location.search</code> and put it in a var, I need that var's value to be &quot;gilgilad&quot;.</p>
  <p>Is this even possible using <code>location.search</code>?</p>