CJuiAutoComplete can automatically prompt users to enter text based on the first few characters. It encapsulates the JUIautocomplete plug-in. Basic usage: $ this-& amp; gt; widget (& amp; #39; zii. widgets. jui. CJuiAutoComplete & amp; #39;, & amp; nbsp; array (& amp; #39; name & amp; #39; & amp; gt; & amp; #39; city & amp; #39;, & amp; #39; sour... CJuiAutoComplete can automatically prompt users to enter text based on the first few characters. It encapsulates the JUI autocomplete plug-in. Basic usage: $ this-> widget ('zii. widgets. jui. CJuiAutoComplete ', array ('name' => 'city', 'source' => $ data, // additional javascript options for the autocomplete plugin 'option' => array ('minlength' => '2',), 'htmlop
1. PHP development Framework Yii Framework tutorial (34) Zii component-AutoComplete example
Introduction: CJuiAutoComplete automatically prompts users to enter text based on the first few characters. It encapsulates the JUI autocomplete plug-in.
[Related Q & A recommendations ]:
The above is the recommended usage of 10 commonly used AutoComplete examples. Please download them! For more information, see other related articles in the first PHP community!