Chtml::ajaxbutton To Bootstrap Button

This is my button


<?php echo CHtml::ajaxButton ("Update data",

                              CController::createUrl('profile/ChangeLine'),

                              array('update' => '#line'));

                    ?>

Im trying to use yii bootstsrap’s button to change the appearance. There is a option to change the button to a ajaxButton but i cant find any documentation on how to do so.

was able to find a solution. I used…


<?php echo CHtml::ajaxButton ("In/Out Line",

                              CController::createUrl('profile/ChangeLine'),

                              array('update' => '#line'),

                              array('class' => 'btn btn-block btn-primary')

                        );

                    ?>

Hello guys.

how are you all?i am newbie here.i like this forum and want to say welcome to all.

hope so you enjoy your stay here.All the best…