yii: autocomplete field with CJuiAutoComplete

by prettyscripts on 2012-01-20 14:17:00 • 1 comment »

phpyii

i have previously written a post on the same topic with CAutoComplete. since CAutoComplete is depreciated (since V113) and replaced with CJuiAutoComplete, i should keep my notes up-to-dated. i find that this is easier to implement. i found a solution b… more »

Tags: ajax, autocomplete, jquery, php, yii

yii: ajax autocomplete field

by prettyscripts on 2010-11-13 16:38:00 • Leave a comment »

phpyii

yii framework comes with CAutoComplete widget for this purpose. however by default, the displayed value is saved to the database. thankfully there's tutorial on how to display one value but save the id to the database. more »

Tags: ajax, autocomplete, php, save, yii

yii: ajax validation and duplicated data

by prettyscripts on 2010-11-05 12:17:38 • Leave a comment »

yii

when creating a new record, i noticed the new record is duplicated (usually 3x but sometimes 4x, 5x...) it took me a while to realize this is caused by ajax validation. there are 2 things needed to be done from the code generated by gii. in the view… more »

Tags: ajax, duplicate, form, yii

php-based ajax

by prettyscripts on 2008-01-08 16:32:24 • Leave a comment »

freephpajaxxajax

ajax stands for asynchronous javascript and xml. it’s used for creating a more interactive web applications. web page content can be updated without reloading the entire web page. think gmail, and the current yahoo!mail and hotmail interfaces. a better e… more »

Tags: ajax, php, xajax