Dan G. Switzer, II schrieb:
> For example, for radio & checkbox elements you use the NAME attribute, but
> for everything else you use the ID attribute. I just find it confusing to
> try to explain the difference (on when you use what.)
>   
Currently I'm internally passing around element IDs. I want to remove 
that as far as possible, maybe I can reduce the need for IDs, too.

There is one good argument for using IDs: You can click the error labels 
to focus the associated input, without any additional JS, just using the 
for attribute.

-- 
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to