title: how get value onchange event from drop down event in select(chosen) jquery
body: <p>i made drop down list with help of select jquery </p>
  
  <pre><code>echo $this-&gt;Form-&gt;input('Category', 
              array(
                  'data-rel' =&gt;'chosen',
                  'style' =&gt; 'width:220px; margin-bottom:10px',
                  'placeholder' =&gt; 'Select Category',
                  'empty'=&gt;'Select',
                  'id'=&gt;'ProductCategoryId',
                  array('class'=&gt;'required') 
                  )); 
  </code></pre>
  
  <p>now i'm trying to retrieve value onchange 
  i tried following code to get value and text. (my basic purpose is to get value)</p>
  
  <pre><code>&lt;script&gt;
  $(document).ready(function () {
      alert($("#ProductCategoryId option:selected").text()); 
      alert($('#ProductCategoryId').val());
  &lt;/script&gt;
  </code></pre>
  
  <p>may be there are many answer of this question already on SO, but those did't resolve my problem. </p>