title: $(this).val() not working to get text from span using jquery
body: <p>Giving this html, i want to grab "August" from it when i click on it:</p>
  
  <pre><code>&lt;span class="ui-datepicker-month"&gt;August&lt;/span&gt;
  </code></pre>
  
  <p>i tried </p>
  
  <pre><code>$(".ui-datepicker-month").live("click", function () {
      var monthname =  $(this).val();
      alert(monthname);
  });
  </code></pre>
  
  <p>but doesn't seem to be working</p>