tr888
8 May 2010, 5:35 AM
Checkbox and their labels are being rendered by Ext Designer not with the nested label syntax but with the "for={id}" syntax, like this:
<div id="ext-gen###" ... >
<input id = "foo" ... >
<label id = "ext-gen###" ... for="foo">foo label</label>
</div>
The DIV wrapper and label receive autogenerated ids. The checkbox input field has the id that I have assigned.
What is the CSS selector for the label associated with the checkbox whose id = "foo"? I don't want to reference the label by class x-form-cb-label.
Thanks
<div id="ext-gen###" ... >
<input id = "foo" ... >
<label id = "ext-gen###" ... for="foo">foo label</label>
</div>
The DIV wrapper and label receive autogenerated ids. The checkbox input field has the id that I have assigned.
What is the CSS selector for the label associated with the checkbox whose id = "foo"? I don't want to reference the label by class x-form-cb-label.
Thanks