title: Jquery select change
body: <pre><code>&lt;select id="Nazione" name="Nazione"&gt;
      &lt;option prefix='+93' value='AF' &gt;Afghanistan &lt;/option&gt;
      &lt;option prefix='+355' value='AL' &gt;Albania &lt;/option&gt;
      &lt;option prefix='+213' value='DZ' &gt;Algeria &lt;/option&gt;
      &lt;option prefix='+376' value='AD' &gt;Andorra .... etc
  &lt;/select&gt;
  </code></pre>
  
  <p>and this js</p>
  
  <pre><code>$(document).ready(function() {  
      $('#Nazione').change(function(){
  
          alert( $(this).find("option:selected").attr('prefix') );
          alert( $(this).attr('prefix') );
      });
    });
  </code></pre>
  
  <p>I have alert NULL... 
  WHy?</p>