Re: [whatwg] what use-case is there for the name-attribute on a fieldset?

On Fri, Dec 21, 2012 at 11:57 AM, Evert Van dansen
<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>


-- 
http://annevankesteren.nl/

Received on Friday, 21 December 2012 11:25:28 UTC