JavaScript - passing variables through the URL: #var=val vs ?var=val
<p>I am trying to pass variables through the URL that will only be consumed on the client-side javascript. What is the difference between passing them as:</p>

<blockquote>
  <p>?var1=val1&amp;var2=val2</p>
</blockquote>

<p>vs</p>

<blockquote>
  <p>#var1=val1&amp;var2=val2</p>
</blockquote>

<p>?</p>
