redirect by clicking submit button
<p>I am writing a code in which I need to redirect to the another page to another link by clicking the submit button
But there is something wrong Because I am not redirecting to that page.</p>

<pre><code>&lt;input id="submit1" type="submit" value="submit" onclick="location.href='hi.php'"&gt;
</code></pre>
