[thelist] xhtml 1.1 and javascript and w3 validation

.jeff jeff at members.evolt.org
Sun Dec 15 11:08:00 CST 2002


> From: Peter-Paul Koch
> > document.widgets.title.focus();
> It tries to put the focus on the title attribute of the
> form, which is of course nonsense. Use another name for
> your form field.

or better yet, access the field named "title" through the elements array:


i'd even take it a step further and do the same for widgets and the forms
array.  that makes it crystal clear what the intention is down the road.


good luck,


jeff at members.evolt.org

More information about the thelist mailing list