title: Jquery listen to when value changes and alert?
body: <p>I have a div which gets updated by ajax.</p>
  
  <p>Im trying to use jquery to alert when the value of the div gets updated.</p>
  
  <p>I use the following</p>
  
  <pre><code>$(document).ready(function () {     
  
   $('.Current-field').bind('autorefresh.incremental', function() {
    alert($('.Current-field')).val();
   });
  
   $('.Current-field').trigger('autorefresh.incremental');
  });
  </code></pre>
  
  <p>This alerts when the value gets changed as it is supposed to, but the value comes back as [object object]</p>
  
  <p>How do I get the actual value of the updated content, the html is</p>
  
  <pre><code> &lt;span class="field-content Current-field"&gt;new content&lt;/span&gt;
  </code></pre>
  
  <p>Thanks for any help</p>