Re: Name attribute not XHTML valid

Giganews Newsgroups
Subject: Re: Name attribute not XHTML valid
Posted by:  David Dorward (dorwa…
Date: Thu, 07 Apr 2005

piraticm… wrote:

> Hi. I have some code for a javascript jump menu...

Leaving aside the problems with the concept of a jump menu; most scripts
aren't very good.

> It validated with HTML 4.0

That was obsoleted in, IIRC, 1996 with the 4.01 bug fix release.

> I have used name atributes in my code which aparantly are not allowed
> now.

Name is for form controls and specifies stuff for server side handling. You
should be looking at the id attribute for client side stuff.

I suggest you go and read
which has working code for you.

David Dorward>
                    Home is where the ~/.bashrc is


In response to

Name attribute not XHTML valid posted by piraticm… on 7 Apr 2005