Often happens to have the need of change a part of the page with ajax.
Almost all the information you need whilst working with yii is written in the Class Reference.