Grabbing hash from URL?
<p>I want it so that if someone visits:</p>

<p><a href="http://www.site.com/#hash" rel="nofollow">http://www.site.com/#hash</a></p>

<p>It puts the data after the hash into the input box with the id <code>url</code></p>

<p>and then it submits the form.</p>

<p>Here is my code:</p>

<pre><code>&lt;form method="post"&gt;
    &lt;input id="url" placeholder="Enter" name="url"&gt;
    &lt;input type="submit" id="visit" value="Visit" class="submit"&gt;
&lt;/form&gt;
</code></pre>

<p>How can I do this?</p>
