title: Yii: Ajax button not working after an ajax update of a CLIstView
body: <p>I have a CListView that contains severals elements. Each of those elements has an ajax link.</p>
  
  <p>At first the ajax links are working well, but when I switch pages in my CListView then the ajax links aren't working anymore!</p>
  
  <p>Here's my controller:</p>
  
  <pre><code>$dataProvider = News::model()-&gt;listeNews();
  $this-&gt;renderPartial(
      '_list',
      array('dataProvider' =&gt; $dataProvider,),
      false,
      true
  );
  Yii::app()-&gt;end();
  </code></pre>
  
  <p>The CListView:</p>
  
  <pre><code>&lt;?php $this-&gt;widget('zii.widgets.CListView', array(
  'dataProvider'=&gt;$dataProvider,
  'itemView'=&gt;'_view',
      'enablePagination'=&gt;true,
      //don't change the id, used to update the number of news to displau
      'id'=&gt;'list',
      'cssFile' =&gt; Yii::app()-&gt;theme-&gt;baseUrl . '/css/widgets/listview/styles.css',
      'template'=&gt;"{pager}\n{items}\n{pager}",
      'pager' =&gt; array(
          'class' =&gt; 'PagerSA',
          'cssFile'=&gt;Yii::app()-&gt;theme-&gt;baseUrl . '/css/widgets/pager.css',
          ),
  )); ?&gt;
  </code></pre>
  
  <p>And the ajax link in the item view:</p>
  
  <pre><code>&lt;?php echo CHtml::ajaxLink(
      '&lt;div class="nb_like" id="nb_like_'.$data-&gt;id.'"&gt;' . $data-&gt;like . '&lt;/div&gt;',
      array('news/like','id'=&gt;$data-&gt;id, 'type'=&gt;'like'),
      array('update'=&gt;'#nb_like_'.$data-&gt;id),
      array('class'=&gt;'btn_like', 'id'=&gt; 'like_' . $data-&gt;id)
  );?&gt;
  </code></pre>
  
  <p>Update: When I watch the ajax request I can see the javascript is passed but nothing changes</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  /*&lt;![CDATA[*/
  jQuery('#list').yiiListView({'ajaxUpdate':['list'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list-view-loading','sorterClass':'sorter','enableHistory':false});
  $('body').on('click','#like_2810',function(){jQuery.ajax({'url':'/index-local.php/news/like?id=2810&amp;type=like','cache':false,'success':function(html){jQuery("#nb_like_2810").html(html)}});return false;});
  /*]]&gt;*/
  &lt;/script&gt;
  </code></pre>