If you have
<form method="post" action="somepage">
<button type="submit" name="testbutton" value="testing">This is a test
button <img src="test.jpg">
</button>
</form>
and press that button and check the posted stuff in "testbutton" it contains
the text between <button> and </button> (including the <img ...>) and not
just "test" as value is set to and that is what w3c sais to send. Value
should be sent, not the button content.
A clear bug in Internet Explorer 6 SP2 (and less?)
Regards,
David Nordenberg
Lāʻie Techie - 17 Oct 2004 06:50 GMT
> If you have
> <form method="post" action="somepage"> <button type="submit"
[quoted text clipped - 12 lines]
> Regards,
> David Nordenberg
I developed a web app plagued by Microsoft's disregard for standards. I
surrendered to <input type="submit"> or <input type="image"> until IE is
W3C compliant.
Out of curiosity, does anyone know how to submit a bug to Microsoft?
HTH,
La'ie Techie