Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
July 9, 2004, 5:15 pm
rate this thread
button with a mouse the key/value pair key are properly submitted.
However, if I just hit the enter key the page does get submitted
however without the key/value pair of the submit button. I would
accept that a user must click the button to submit the pair, but none
of my other pages require that. It seems if I just hit the enter key
it defaults to hitting the submit key/value pair anyways. Any help?
Below if my code...
<tr><td>Please enter how much to increase the price by
<td><input type="text" name="percent"></td>
(For example to raise the prices per piece by 30% enter '30')
<tr><td><input type="submit" name="Update Price Per Piece"
value="Update Price Per Piece"></td></tr>
Re: hitting enter does not send key/value pair vrs. hitting button - help anyone?
> Hi I have one text field and one submit button. If I hit the submit
> button with a mouse the key/value pair key are properly submitted.
> However, if I just hit the enter key the page does get submitted
> however without the key/value pair of the submit button.
This is browser-dependent, and you should not rely on any particular
behavior (key=value being or not being submitted, or a particular
key=value being submitted when there are several submit buttons).
For an explanation, see
Yucca, http://www.cs.tut.fi/~jkorpela /
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum