Re: HTML5 tag specs [via HTML5 Specifications Community Group]

Hi Ricardo !

Thanks for your reply !

My problem is not on the "for" used on the LABEL tag.

There is other "for" attribute on the <OUTPUT> tag !!!!

This "for" attribute is to add a trigger event on the form fields. When I change some value on the fields cited on the "for" atribute the HTML5 will fire the javscript inside the <oninput> tag.

This "for" attribute is not related to the "for" attribute used with de <LABEL> tag...

Thanks again !

Elcio A.


 
.................
Change is the law of life.  And those who look only to
the past or the present are certain to miss the future.
John F. Kennedy [in a Speech, June 25, 1963].



Em Quinta-feira, 23 de Janeiro de 2014 9:39, Ricardo Vercesi <rvercesi@gmail.com> escreveu:
 
The "for" attribute is used usually within the label tag and should refer to the name of the element. So if you have a radio button named "myRadio" the for attribute of your label should be "myRadio" as well and not "radio".


Ricardo Vercesi
web and beyond...


On Wed, Jan 22, 2014 at 7:58 PM, Elcio Abrahao <elcio_abrahao@yahoo.com.br> wrote:

Hi Guys !!!
>
>My name is Elcio Abrahão and I m an University Teacher in São Paulo - Brazil.
>
>I m using HTML5 to teach programing for my students the form did not change the
>output value when I add a field type "radio" to the "for" attribute. Is this a
>project specification or this is a [...]
>
>
>
>----------
>
>This post sent on HTML5 Specifications Community Group
>
>
>
>'HTML5  tag specs'
>
>http://www.w3.org/community/html5spec/2014/01/22/html5-tag-specs/
>
>
>
>Learn more about the HTML5 Specifications Community Group:
>
>http://www.w3.org/community/html5spec
>
>
>
>
>

Received on Thursday, 23 January 2014 14:17:29 UTC