Difference between #6 and #7 of
Using CAutoComplete to display one value and submit another

Revision #7 has been created by jonah on Aug 30, 2009, 11:24:11 PM with the memo:

removed die()
« previous (#6) next (#8) »

Changes

Title unchanged

Using CAutoComplete to display one value and submit another

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

Content changed

[...]
$returnVal .= $userAccount->getAttribute('name').'|'
.$userAccount->getAttribute('user_id')."\n";
}
echo $returnVal;
}
       die();
 
}
```
There are a few things to notice here:

<ol>
<li>A pipe "|" delimiter is used and natively recognized by jQuery to split a returned item into parts</li>
[...]
7 3
11 followers
Viewed: 64 403 times
Version: 1.1
Category: Tutorials
Written by: luoshiben
Last updated by: mohammad sharif ahrari
Created on: Mar 25, 2009
Last updated: 11 years ago
Update Article

Revisions

View all history