- From: Evert Van dansen <evertvandansen@ymail.com>
- Date: Fri, 21 Dec 2012 03:39:43 -0800 (PST)
- To: Anne van Kesteren <annevk@annevk.nl>
- Cc: "whatwg@lists.whatwg.org" <whatwg@lists.whatwg.org>
> From: Anne van Kesteren <annevk@annevk.nl> ><evertvandansen@ymail.com> wrote: >> Recently I noticed that HTML5 allows the name-attribute on a fieldset. This was not the case in HTML4.0.1. >> I did some tests and noticed that this name is *not* part of the POSTed data when submitting a form? So I was wondering when and for what purpose this name-attribute should or could be used? > ><!DOCTYPE html> ><form><fieldset name=hah></fieldset></form> ><script>alert(document.forms[0].hah)</script> > I am sorry, perhaps I misunderstand, but I do not see what the advantage is over using "regular" hooks (like id) in this case? Surely adding the name-attribute must have been a decision based on something specific?
Received on Friday, 21 December 2012 11:40:09 UTC