title: how to reload a div on a button click using Jquery or Javascript
body: <p>I'am using Yii framework, I want to reload this div:</p>
  
  <pre><code>&lt;div class="likes" id="likes"&gt;
     &lt;?php
        echo $model-&gt;likes." ".CHtml::imageButton($src.'like.png', array('value'=&gt;'like',      'width'=&gt;'25px', 'height'=&gt;'20px'));
     ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>by using this ajax function that is written in a js file in the extensions folder:</p>
  
  <pre><code>$(document).ready(function(){
     $("#like").click(function(){
        $("#likes").html("result reloaded successfully");
     });
      });
  </code></pre>
  
  <p>but their is nothing happened when I clicked the button, can you help me?</p>