title: Get value of jQuery chosen element
body: <p>I'm trying to get value of jQuery Chosen element, but not getting anything. I think it could be because there is no value yet when I am searching for it, but not sure with that, because when the page loads, I can already see the value, which I need to get, on page. I've searched some threads here, but no solution worked for me. If anyone would know how to move with this, I would be so glad, thanks!
  (I have to get value of <code>&lt;span&gt;</code> inside of <code>&lt;a class="chosen-single"&gt;</code> ) and it's not because I don't have included jQuery library. I have, but I haven't pasted it here.</p>
  
  <p>FIDDLE: <a href="https://jsfiddle.net/camm8yLj/" rel="nofollow noreferrer">https://jsfiddle.net/camm8yLj/</a></p>
  
  <pre><code>&lt;a class="chosen-single" tabindex="-1"&gt;
  &lt;span&gt;I/37 Chrudim - obchvat, úsek křiž. I/17 - Slatiňany&lt;/span&gt;
  &lt;/a&gt;
  
  
  
  $(document).ready(function(){
  
      $('.chosen-single').chosen().change(function () {
          $(this).find('span').each(function(){
              alert('Text : '+$(this).text());
              alert('Value : '+$(this).val());
          });
      });
  });
  </code></pre>