Login Register

Dijit Form Label

Hai friends
I had gone through dojo book n dojo examples n dojo source but i was not abt to figure out how to adding a label when creating a formfield widget with javascript?

<label>

As per the way HTML works the label isn't part of the TextBox or related widget. Need to use a <label> node. Inconvenient, but that's the way HTML works.