CJuiAutoComplete can automatically prompt the user to input text based on the first few characters entered by the user when typing. It encapsulates the JUI autocomplete plugin. The basic usage is as follows $this->widget('zii.widgets.jui.CJuiAutoComplete', array( 'name'=>'city', 'source'=>$data, //additional javascript options for the autocomplete plugin 'options'=>array( 'minLength'=>'2', ), 'htmlOp
1. PHP Development Framework Yii Framework Tutorial (34) Zii Component-AutoComplete Example
Introduction: CJuiAutoComplete can automatically prompt the user to input text based on the first few characters entered by the user. It encapsulates the JUI autocomplete plugin.
【Related Q&A recommendations】:
The above is the detailed content of Recommend 10 commonly used AutoComplete example usages, welcome to download!. For more information, please follow other related articles on the PHP Chinese website!