Textarea and button

How can I connect the results of a button with a textarea to display them??

This is my code

<?php $this->widget('zii.widgets.grid.CGridView', array(





		/*array(            // display 'author.username' using an expression



        ), */





















              				 'label'=>'Assegna Ruolo ',

               	  			 'url'=>'Yii::app()->createUrl("/ruoli/create", array("id" => $data->ACCESSO_ID))',






)); ?>

When i click a button ‘Assegna Ruolo’ i redirect to another page in which i visualize the role of single person…

how can i visualize thiese result in a control??

Textarea or another???

javascript which means at the $htmlOptions of the button ‘onclick’=>‘what you want to do in jquery code prefered’ :)

What i can search?I javascript that add a value in a textarea???

I have a version of yii that don’t use jquery…