RadioButtonList problem in Chrome

Hi,

I tried to use the RadioButtonList for my App. Please refer to my code below.

echo CHtml::radioButtonList($model,‘myopts’, array(

                            'option1'=>$question->option1,


                            'option2'=>$question->option2,


                    )); 

The code worked fine in the Firefox. But it did not work in Chrome.

I tried to set Name attribute. I don’t know how to set the Name attribute in the radioButtonList control.

Please help me to solve this problem.

Thanks in advance.

Win Naung

You should elaborate on "did not work"…

Now it was working. Thanks Mike.