Re: ID vs NAME in different browsers

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

 



On Saturday 28 January 2006 16:47, Jason Petersen wrote:

> HTML Forms should always use the NAME attribute to pass values, never ID.
> You can use print_r($_REQUEST); at the top of your script to debug.
> 

Thank you for your answer. W3C says:

[http://www.w3.org/TR/html4/interact/forms.html]

name = cdata [CI] 
This attribute names the element so that it may be referred to from style
sheets or scripts. Note. This attribute has been included for backwards
compatibility. Applications should use the  id attribute to identify
elements.


So my question remains: How well do browsers support using only id?


//Niels

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux