How to go to anchor link (for example the bottom page), afte

  • basketmen
  • Student
  • Student
  • basketmen
  • Posts: 69

Post 3+ Months Ago

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: [ Select ]
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>';
  1. echo '<form action="" id="frm_chat" method="post"><fieldset id="fieldset_chat"><legend>Chat</legend><div>';
  2.     echo $err_msg;
  3.     echo "<label>Nick: </label>".$txt_nick->getHtml()."<br />";
  4.     echo "<label>Server: </label>".$ddl_server->getHtml()." or ".$txt_server->getHtml()."<br />";
  5.     echo "<label>Channel: </label>".$ddl_channel->getHtml()." or ".$txt_channel->getHtml()."<br />";    
  6.     
  7.     echo ' <input type="submit" class="btn" name="btn_chat" value="Chat Now"/></div></fieldset></form>';
  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England

Post 3+ Months Ago

make a anchor like like <a href="#bottom"></a> and then in the action simple make do action="#bottom" if you don't put anting before the # then the computer uses the url your on + the #bottom.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 27 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.