Posted by Ivαn Sαnchez Ortega on 03/15/07 21:59
Paul Furman wrote:
> I'm getting incorrect response when hitting the enter key instead of
> actually clicking the button on a form. It activates but the post data
> [value='Update'] isn't being sent I think. The php generated page
> flickers & reloads but doesn't perform the update.
That's the way it works - The name/value pair of a submit button only gets
submitted if the button is actualy pressed.
If you want to have some data every time a form is submitted, rely on <input
type='hidden'/> fields.
(Check the W3.org HTML reference for more details).
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
In Marseilles they make half the toilet soap we consume in America, but
the Marseillaise only have a vague theoretical idea of its use, which they
have obtained from books of travel.
-- Mark Twain
Navigation:
[Reply to this message]
|