[thelist] Getting <button> to send value

Craig cd-ml at aardvark.net.au
Thu Sep 26 11:28:01 CDT 2002


I should say it's for an intranet site, and is to be viewed in IE6 only.  I
could use <input type="button"> but I need to be able to highlight the
accesskey, so i turned to <button>.

----- Original Message -----
From: "Craig" <cd-ml at aardvark.net.au>
To: <thelist at lists.evolt.org>
Sent: Thursday, September 26, 2002 11:21 PM
Subject: [thelist] Getting <button> to send value


> Hi,
>
> Why does <button> send the value as what's between the tag rather than
sending
> what's specified in value="" ?
>
> I'm using ASP and with the button below instead of sending the value
't2value'
> it sends this:
>
> %3CSPAN+style%3D%22TEXT-DECORATION%3A+underline%22%3EP%3C%2FSPAN%3Eopulate
>
> Which is what's between the <button></button> tags.
>
> <button name="t2" value="t2value" type="submit"><span
style="text-decoration:
> underline;">P</span>opulate</button>
>
> I've googled but can't seem to find the right keywords.
>
> TIA,
> Craig.
>
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>





More information about the thelist mailing list