Problem with renderPartial and Ajax with jquery

Hi,

Im using jquery to make a ajax call, but on my controller i have to put:

Yii::app()->clientScript->registerCoreScript(‘jquery’);

because i use jquery on my views, but the problem is when i make an ajax call and use on my action renderPartial, the response to browser is going with the jquery.js script tag.

What i do do solve it?

I want that the response of ajax call only go with my view content.

Hi,

Problem solved, we need use:

$this->renderPartial(’_listarFotos’, array(‘model’ => $model), false, false);

intested of:

$this->renderPartial(’_listarFotos’, array(‘model’ => $model), false, true);