title: how to display textbox on selecting an option in dropdown using ajax
body: <p>This is the dropdown am using..    </p>
  
  <pre><code>    &lt;?php echo $form-&gt;labelEx($model,'status'); ?&gt;
              &lt;?php echo $form-&gt;dropDownList($model,'status',
  array('0' =&gt;'In active', '1'=&gt; 'Active'),
  array( 'onChange' =&gt; 'javascript:description()' )); ?&gt;
  </code></pre>
  
  <p>How can  i display a text box for description on selecting inactive dynamically...</p>
  
  <p>please suggest some yii + ajax  tutorials for beginners</p>