issue in RadioButtonList

Hi,

Problem in Radio Buttons

I have a Radio button List with 2 buttons

when i click the first one i am performing some ajax action

When i try click the second one the first one is not unchecked and i am not able to check the second one

<?php echo CHtml::radioButtonList( ‘ck_Skill’,’’, array(4 => ‘Match my Professional Skill’, 5 => 'Friends

Suggestion’), array(‘separator’ => ’ ', ‘onChange’=>CHtml::ajax(array(‘type’=>‘POST’, ‘dataType’=>‘json’,“url” => array(“search/search”), “success”=>"function(response){

$(’#textfield-wrapper’).html(response.data);

}",

))));?>

please help me!!!!!!

<?php echo CHtml::radioButtonList( ‘ck_Skill’,’’, array(4 => ‘Match my Professional Skill’, 5 => 'Friends

Suggestion’), array(‘separator’ => ’ ', ‘onChange’=>CHtml::ajax(array(‘type’=>‘POST’, ‘dataType’=>‘json’,“url” => array(“search/search”), “success”=>"function(response){

$(’#textfield-wrapper’).html(response.data);

}",),‘return’=>true,<----Insert this in your code

)));?>

thanks for the solution!

Here is another example,

echo CHtml::radioButtonList(‘job_type’, ‘Y’, $this->getJobTypeOptions(),

							array('class'=&gt;'refine',


									'ajax' =&gt; array('type'=&gt;'POST', 


												    'url'=&gt;CController::createUrl('refine'),


												    'update'=&gt;'#job_result_list',),


									'return'=&gt;true,


									));