HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Form submission problem
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form
View previous topic :: View next topic  
Author Message
AndyBG



Joined: 01 May 2008
Posts: 2

PostPosted: Thu May 01, 2008 8:24 am     Form submission problem Reply with quote

How do I get one html page to automatically load another.
I have a search box made up from a text input and a submit button. The user can enter a search term and hit the submit button. This causes another_page.php to load. The new page examines the search term and determines which subsequent page to load.
E.g. If my search term is "apples", another_page.php will determine that fruit.html should be sent back to the user.
I've gone the meta route to get it to redirect, but this doesn't work.. e.g.
<meta http-equiv="refresh" content="5";URL="fruit.html">
AndyBG



Joined: 01 May 2008
Posts: 2

PostPosted: Thu May 01, 2008 8:32 am     Whoops! - I nearly forgot... Reply with quote

The other thing I should have mentioned, is that JavaScript is no use in this situation. The whole point of my wanting a non-Javascript solution is that this method is to be used when Javascript is disabled on the user's browser.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial