![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
application/x-www-form-urlencoded 2. The control names/values are listed in the order they appear in the document. multipart/form-data A "multipart/form-data" message contains a series of parts, each representing a successful control. The parts are sent to the processing agent in the same order the corresponding controls appear in the document stream. |
#2
| ||||||
| ||||||
|
|
These are two issues I don't remember I've observed till now. First I've noticed submitting a form through an <INPUT type="image" Mozilla and Safari has one behavior while with Opera and IE it has another: |
|
Reading through the HTML spec I haven't found if IE and Opera are wrong in not sending 'foo=bar' along |
|
but I find it convenient (and often used) to have it for testing which out of multiple submit buttons has been activated. |
|
While the previous case is not clear to me I find the following to be faulty with both Opera and IE: they always place the 'foo.x=#' and 'foo.y=#' pairs after the 'text=...' one while following the rules [1] they should keep the order the controls appear in the document. |
|
Because of the given discrepancies I've decided to use a <button with an <img> inside, |
|
IE always submits all <button> controls no matter which submit button has been activated, moreover it uses the content of the button> element as the control value instead of the 'value' attribute |
![]() |
| Thread Tools | |
| Display Modes | |
| |