title: How do I get the value in the CJuiAutoComplete textfield in yii?
body: <p>I'm using this code. How do I put the value inside into a variable, say $temp?</p>
  
  <pre><code>$this-&gt;widget('zii.widgets.jui.CJuiAutoComplete', array(
      'name'=&gt;'patientSearch',
      'source'=&gt;$arr,
      // additional javascript options for the autocomplete plugin
      'options'=&gt;array(
          'minLength'=&gt;'2',
  ),
  'htmlOptions'=&gt;array(
      'style'=&gt;'height:20px;'
  ),
  ));
  
  $temp = &lt;value of autocomplete form&gt;;
  </code></pre>