Login Register

RadioButton

Get value from group of radiobuttons

I'm new in dojo development... so I have a simple question.

I have the following code...

Serial

Random per category

Setting 'label' when programmatically create RadioButton does nothing

var paramsRb = {id: "rb1", name: "rb", title: "Select Annabelle", label: "Annabelle", value: "1"};
var widgetRb = new dijit.form.RadioButton(paramsRb);

It seems silly to let people set the label but it doesn't do anything. I had to manually create "span" element that contains the label string and append to each radio button.

Syndicate content