title: How to get URL parameter using jQuery or plain JavaScript?
body: <p>I have seen lots of jQuery examples where parameter size and name are unknown.</p>
  
  <p>My URL is only going to ever have 1 string:</p>
  
  <pre><code>http://example.com?sent=yes
  </code></pre>
  
  <p>I just want to detect:</p>
  
  <ol>
  <li>Does <code>sent</code> exist?</li>
  <li>Is it equal to "yes"?</li>
  </ol>