So I thought. But why, when using JavaScript can you not target the ID of an element such as an image? You can target the name, but not the ID, not without document.getElementById-----blah blah blah, so how can it duplicate it? It seems then, that is does not.
On Tue, Nov 25, 2008 at 1:32 PM, David Dorward <[EMAIL PROTECTED]> wrote: > Brett Patterson wrote: > > I don't why, but XHTML (I am using Strict 1.0 in the below examples), > > has deprecated the use of the name attribute. That being said, my > > question is, "Why was the name attribute deprecated?". > > Because (on the elements upon which it was deprecated) it did nothing > except duplicate the functionality of the id attribute. > > > -- > David Dorward <http://dorward.me.uk/> > > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [EMAIL PROTECTED] > ******************************************************************* > > -- Brett P. ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
