Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- push button ??
- Chris Sharman
August 3, 2006, 9:50 am
rate this thread
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'.
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.
I was kind of hoping for the value, since I went to some trouble to set
Given that it doesn't seem to do what I want, or anything consistent, in
the popular browsers, I'll find another way of doing it at this point.
However, I did wonder if anyone could clarify the 'correct' behaviour,
whether any browsers implement it, and whether this is a known bug.
- » CFP: WWW/INTERNET 2006 - (last call): 4 September 2006
- — Next thread in » HTML Authoring Forum
- » Open Source IDE, Windowing System and Desktop Environment (31kb)*
- — Previous thread in » HTML Authoring Forum