Ajaxlink In Clistview


I have a problem with my CListView. I added some CHtml::ajaxLink to this ListView and a callback function for ajaxLink which refreshes a div’s contents:


After this, my ListView is successfully refreshed, but there is a problem, with the ajaxLink inside the div which is generated after the refresh. New links are generated, but <script> tags for this links are not, becouse they are out of this CListView / old scripts are still there.

What should I do ?

There are already few threads about this on the forum… check this one for a possible solution - http://www.yiiframework.com/forum/index.php/topic/21926-