I want it so that if someone visits:
It puts the data after the hash into the input box with the id url
and then it submits the form.
Here is my code:
<form method="post"> <input id="url" placeholder="Enter" name="url"> <input type="submit" id="visit" value="Visit" class="submit"> </form> How can I do this?
location.hash, some will return '#hash' and others just 'hash'.