Re: Forms...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Neil Smith [MVP, Digital media] wrote:
At 07:52 10/03/2005 +0000, you wrote:

Message-ID: <422F5080.7020706@xxxxxxxxxxxxx>
Date: Wed, 09 Mar 2005 20:37:36 +0100
From: Jochem Maas <jochem@xxxxxxxxxxxxx>

if your into XHTML:

<input name="right_eye" type="checkbox" value="1" checked="checked" value="1" />


Actually that's invalid XHTML (it won't validate) due to a typo I guess.

true, yeah I added an extra value attr. wasn't paying enought attention.


Each XML (aka XHTML) DOM element can only have a ~single~ attribute with a particular name.
The typo above has two copies if the 'value' attribute which would prevent the XHTML being valid XML.


HTH
Cheers - Neil

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux