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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to