title: selecting from responsive dropdown list in yii
body: <p>How can I make a responsive dropdown list to select an item from the list and echo some value? I don't want to bind dropdown to any model. I have written following simple code to implement this but it is not working.</p>
  
  <pre><code>&lt;?php 
  echo CHtml::dropDownList('country_id','', array(1=&gt;'USA',2=&gt;'France',3=&gt;'Japan'));
  if ('#country_id' === 1)
  echo "Thank You";
  else if('#country_id' === 2)
      echo "merci beaucoup";
  else
  echo "arigato";
  ?&gt;
  </code></pre>
  
  <p>Dropdown is behaving correctly but I am not able to select an item from the drop down list. How can I correct my code?</p>