Using below script after clicking the button it will reload the page and starting the application I want people go to anchor link location after clicking the submit button, for example go to the bottom of the page because the program is in the bottom of the page how to do that guys please help echo '<form action="" id="frm_chat" method="post"><fieldset id="fieldset_chat"><legend>Chat</legend><div>'; echo $err_msg; echo "<label>Nick: </label>".$txt_nick->getHtml()."<br />"; echo "<label>Server: </label>".$ddl_server->getHtml()." or ".$txt_server->getHtml()."<br />"; echo "<label>Channel: </label>".$ddl_channel->getHtml()." or ".$txt_channel->getHtml()."<br />"; echo ' <input type="submit" class="btn" name="btn_chat" value="Chat Now"/></div></fieldset></form>'; Code (markup):
Change both Liinks Below to your Actual URL Page! "Put the first code where you want your submit button to go." "Put the second code where you want your visitors to go after clicking the button Above." 1- <a href="#anchor-link"><input type="image" src="/images/This-Is-Your-Submit-Button.gif" border="0" name="submit" alt=""></a> 2- <h2><a name="anchor-link"></a><b><font color="#0000FF"> <a href="/anchor-link/go-to-the-bottom-of-the-page/the-program-is-in-the-bottom-of-the-page.html</a> </font></b></h2> HTML: