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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hitting enter instead of having to "click" on submit button 1

Status
Not open for further replies.

pantinc

Programmer
Jun 18, 2001
17
US
Is there a way to be able to hit enter on a form submit instead of clicking the button? right now, the form just dings at me... -Sunny *:->*
 
Probably because the button you have isn't actually a submit button or isn't contained in the form tags. Make sure it looks something like this:

<form action=&quot;somepage.asp&quot;>

<input type=&quot;text&quot; name=&quot;namefield&quot; />
<input type=&quot;text&quot; name=&quot;phonefield&quot; />

<input type=&quot;submit&quot; />
</form>

Good luck. jared@eae.net -
 
is there a way to hide what shows up in the address bar? -Sunny *:->*
 
You can open a new window sans the address bar, status bar, etc. They are properties of the window object. &quot;Absorb what is useful, discard what is not. Add what is uniquely your own.&quot; - Bruce Lee - The Tao of Jeet Kune Do
 
and what is the javascript code for that? -Sunny *:->*
 
something like:

window.open (&quot;page.htm&quot;, &quot;scrollbars=no,menubars=no,toolbars=no,resizable=no&quot;); &quot;Absorb what is useful, discard what is not. Add what is uniquely your own.&quot; - Bruce Lee - The Tao of Jeet Kune Do
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top