Difference between #2 and #3 of
A simple action for CJuiAutoComplete

Revision #3 has been created by Thiago Souza on Sep 2, 2011, 7:06:17 PM with the memo:

I've got problems using this widget without the name param. Adding one line fix this.
« previous (#2)

Changes

Title unchanged

A simple action for CJuiAutoComplete

Category unchanged

Tips

Yii version unchanged

Tags unchanged

autocomplete, actions

Content changed

[...]
<?php
$this->widget('zii.widgets.jui.CJuiAutoComplete', array(
'attribute'=>'my_name',
'model'=>$model,
'sourceUrl'=>array('my/aclist'),
        'name'=>'my_input_name',
 
'options'=>array(
'minLength'=>'3',
),
'htmlOptions'=>array(
'size'=>45,
'maxlength'=>45,
[...]
15 1
19 followers
Viewed: 48 996 times
Version: 1.1
Category: Tips
Written by: tydeas_dr
Last updated by: Thiago Souza
Created on: Mar 23, 2011
Last updated: 12 years ago
Update Article

Revisions

View all history