|
Posted by Jonathan N. Little on December 9, 2007, 9:44 am
Please log in for more thread options Steve Swift wrote:
> Faced with:
> <BUTTON NAME=ORDER VALUE=1 TYPE=SUBMIT>Order</BUTTON>
> Internet explorer sends "ORDER=Order" rather than "ORDER=1".
>
> Is there any way to persuade it to do what was intended, to submit the
> actual VALUE of the button rather than its caption?
>
> Is there any HTML proposal to add add an extra parameter to the <SUBMIT>
> control (something like USEVALUE) so that IE would have to implement it
> properly, and we could write sensible CGI scripts?
>
<input name="order" type="submit" value="Order">
Perl:
$order=param('order') eq 'Order' ? 1 : 0;
What makes you hope that MS will "come on board" any time soon?
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
|