Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with textbox

Status
Not open for further replies.

Coogan

Programmer
Jun 21, 2004
38
GB
Hi all,

I have a textbox in on one of my pages and I have a small problem. If anyone goes to that page and types something in to the text box and then press's enter the page resets.

Is there anyway that I can get it so that if enter is pressed in the text box then it does an action like open another page??

Thanks
 
u may have to use javascript:
<input type="text".... onkeydown="return false">

try it...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top