Re: IE Problem Detecting Post Variables
| From: | Nisse Engström | Date: | Sun, 04 Jan 2009 14:27:04 +0000 |
| Subject: | Re: IE Problem Detecting Post Variables | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-285431@lists.php.net to get a copy of this message | ||
On Fri, 2 Jan 2009 18:06:18 -0500, "Andrew Ballard" wrote:
> If you mean an INPUT element with the type="button", then yes.
> (Although it will no longer be a submit button, so you'll have to
> capture the click and perform the submit using Javascript which leads
> back to accessibility issues, etc.)
>
> If you mean a BUTTON element of the type="submit", then not exactly.
> It *will* send a preset value for sure, but that preset value will
> differ depending on the browser. I've found that while FF will send
> the value you set in the value="..." attribute, IE will send the
> actual text of the button. Thus,
See also Jukka K. Korpela's and the late Alan J. Flavell's
pages for more information on the <button> element and HTML
forms in general:
<http://www.cs.tut.fi/~jkorpela/forms/index.html>
<http://www.alanflavell.org.uk/www/trysub.html>
"the BUTTON element is unusable in a practical WWW
forms submission situation"
/Nisse