Wiki

Articles tagged with "ajax", sorted by commentsX
Displaying 11-20 of 42 result(s).

An Easy Solution for Dependent dropDownList Using AJAX

Created about a year ago by mrsTips10 comments – viewed 39,656 times – ( +11 / -1 ) – version 1.1
Sometimes new Yii guys face problem to manage dependent dropDownList using AJAX. I am going to discuss an easy solution about this issue.

Display an AJAX tree from your DB using CTreeView

Created 4 years ago by Fran├žois GannazTutorials9 comments – viewed 42,253 times – ( +20 ) – version 1.1
This example uses a MySQL DB with a table named tree with the fields id, name, and parent_id. The parent_id will be NULL for root elements. The SQL is kept simple (no autoinc, no FK, etc).
tags: AJAX, CTreeView

Ajax form submiting in Yii

Created about a year ago by sirin kTutorials9 comments – viewed 64,123 times – ( +11 / -3 ) – version 1.1
hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

How to use single form to collect data for two or more models (CActiveForm and Ajax Validation edition)

Created 2 years ago by RusAlexHow-tos9 comments – viewed 34,680 times – ( +21 ) – version 1.1
With Yii you can use one CActiveForm for collecting data for two or more models with ajax validation and client validation.

Using CJuiDialog to edit rows in a CGridView

Created 2 years ago by Russell EnglandTips8 comments – viewed 25,046 times – ( +4 / -1 ) – version 1.1
I have a CGridView with a list of clients/events. For each row (EventClient) I wanted a quick edit dialog.

Popup AJAX DialogBox without any extension

Created 9 months ago by KonApazHow-tos6 comments – viewed 9,528 times – ( +7 / -1 )
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

Yii HMVC

Created 8 months ago by ezekielnoobHow-tos6 comments – viewed 5,281 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

Update/delete model with CJuiDialog (works in CGridView)

Created 2 years ago by ifdatticTutorials6 comments – viewed 48,837 times – ( +15 ) – version 1.1
This is based on this article.

How to add ajax-loading indicators

Created 4 years ago by schmunkTutorials5 comments – viewed 37,188 times – ( +26 ) – version 1.1
With yii you're able to create ajax requests and updates easily. But most times you always want to show a loading indicatior to your user.
tags: AJAX

Take more control of CGridview and model searching (related model or another controller)

Created 3 months ago by KonApazHow-tos5 comments – viewed 8,755 times – ( +5 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.