Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Fosters Has a Question...

Thread Tools
 
Search this Thread
 
Old Jul 1, 2003 | 12:07 PM
  #1  
Puff The Magic Wagon!'s Avatar
Puff The Magic Wagon!
Thread Starter
Moderator
25 Year Member
iTrader: (2)
 
Joined: May 2000
Posts: 16,980
Likes: 15
From: From far, far away...
Cool

Given a text box on an html page, when the user presses enter after typing in their text, how do you redirect to another webpage (like writeentry.asp?txtEntry.value type thing)? Does it need to be in a <form>? I'd rather not have a command button.
Reply
Old Jul 1, 2003 | 12:18 PM
  #2  
stevencotton's Avatar
stevencotton
Scooby Regular
 
Joined: Jan 2001
Posts: 2,710
Likes: 1
From: behind twin turbos
Post

You can only send a redirect by sending a Location: header, meta refresh may work but that's browser dependent and not the Right Way.
Reply
Old Jul 1, 2003 | 10:54 PM
  #3  
Fosters's Avatar
Fosters
Scooby Regular
 
Joined: Jul 2000
Posts: 2,145
Likes: 0
From: Islington
Post

I sorted it out.

you can have a look at the results on my poor excuse for a site!
(I actually only wanted the pop3 account, but don't want to waste the hosting!)
QUCAMI

the image and url translation is 10 minutes work and so consequently doesn't do more than 1 image and 1 url on a line!!! sorry!
Reply
Old Jul 1, 2003 | 10:58 PM
  #4  
Puff The Magic Wagon!'s Avatar
Puff The Magic Wagon!
Thread Starter
Moderator
25 Year Member
iTrader: (2)
 
Joined: May 2000
Posts: 16,980
Likes: 15
From: From far, far away...
Cool

Fosters

Have you?



Reply
Old Jul 1, 2003 | 11:06 PM
  #5  
Fosters's Avatar
Fosters
Scooby Regular
 
Joined: Jul 2000
Posts: 2,145
Likes: 0
From: Islington
Post

i knew you'd be lurking! my phone call was a frought 2hrs

I'll sort u out, don't worry.
Reply
Old Jul 2, 2003 | 12:01 AM
  #6  
Puff The Magic Wagon!'s Avatar
Puff The Magic Wagon!
Thread Starter
Moderator
25 Year Member
iTrader: (2)
 
Joined: May 2000
Posts: 16,980
Likes: 15
From: From far, far away...
Post

$h1t chap

Mine was about the same sort of time

Got 24hrs to decide...





















You calling me a Lurk?

Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Dream Weaver
Computer & Technology Related
3
Feb 7, 2002 07:42 PM
ChrisB
Insurance
1
Oct 3, 2001 06:43 PM
ChrisB
Non Scooby Related
3
May 15, 2001 12:12 PM
dowser
Drivetrain
6
Jan 12, 2001 11:27 AM
Dave T-S
ScoobyNet General
57
Dec 29, 2000 10:27 PM




All times are GMT +1. The time now is 12:07 AM.