WEB How to go to anchor link (for example the bottom page), after clicking submit button?

Discussion in 'OT Technology' started by basketmen, Jan 18, 2010.

  1. basketmen

    basketmen New Member

    Joined:
    Jan 31, 2007
    Messages:
    119
    Likes Received:
    0
    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




    Code:
    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>';
    
    
     
  2. 2ofdem

    2ofdem OT Supporter

    Joined:
    Jun 17, 2003
    Messages:
    114,854
    Likes Received:
    8
    Location:
    aus.vic.mel
    javascript + on submit + google = answer
     

Share This Page