title: Jquery Adding text to a span
body: <pre><code>&lt;span class="field-validation-valid" data-valmsg-for="Classifications" data-valmsg-replace="true"&gt;
  &lt;/span&gt;
  </code></pre>
  
  <p>How can I add text to this span?</p>
  
  <p>What I tried till now is the following: </p>
  
  <pre><code>var msg = $('#[data-valmsg-for="Classifications"]').val();
  alert(msg);
  </code></pre>
  
  <p>Could some one throw idea on this.</p>