[thelist] Getting <button> to send value
Craig
cd-ml at aardvark.net.au
Thu Sep 26 08:53:01 CDT 2002
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.
More information about the thelist
mailing list