title: Passing URL using javascript
body: <p>Suppose that I have a URL like the following:</p>
  
  <pre class="lang-none prettyprint-override"><code>http://localhost:8000/intranet/users/view?user_id=8823
  </code></pre>
  
  <p>Now, all I want to do is to get the value of the URL using JavaScript and parse it, taking the <code>user_id</code> value (which is 8823 in this case) and sending that value through an <code>iframe</code>.</p>
  
  <p>How can I do this?</p>