|
Posted by David Dorward on August 3, 2006, 6:23 am
Please log in for more thread options
Chris Sharman wrote:
> I found a use for a (push) button the other day - having never wanted it
> before. I used button rather than input type=button, because I wanted to
> use an image for it.
>
> The html4 spec doesn't say anything explicit, though, about how/whether
> it gets submitted with the other 'successful controls'.
Well, if it is <button type="submit"> then it should.
> In practice, using push buttons within a form, with name and value
> attributes, and some content (an image):
> Firefox doesn't submit it.
> ie6 submits the content (the html image tag), not the value.
Yes, this is a known bug in IE and the reason the <button> element in
uncommon on the WWW.
|