Change The Label Of Submit Button After Ajax Updating The Record In Db

hi friends can anyone tell me how can i Chang the label of submit button after ajax submitting record in db in yii cgridview

here is my button code

'btn2' =>array(


                         'template' => '{AjaxUpdate}',



                                 'AjaxUpdate' => array



                                         'imageUrl'=>Yii::app()->request->baseUrl.'/images/update.png',  // make sure you have an image

                                         'url'=>'Yii::app()->createUrl("Tasks/AjaxUpdate", array("id"=>$data->id))',

                                         'options' => array( 'ajax' => array('type' => 'get', 'url'=>'js:$(this).attr("href")', 'success' => 'js:function(data) { $.fn.yiiGridView.update("tasks-grid")}')),




or tell me alternative of this.