Wiki

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

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

Created 6 years ago by RusAlexHow-tos9 comments – viewed 56,552 times – ( +22 / -1 ) – version 1.1
With Yii you can use one CActiveForm for collecting data for two or more models with ajax validation and client validation.

Dynamic parent and child CGridView on single view. Using $.ajax to update child gridview via controller, after row in parent gridview was clicked.

Created 5 years ago by Gerhard LiebenbergTutorials20 comments – viewed 92,683 times – ( +28 / -2 ) – version 1.1
This wiki is a step-by-step example explaining how the controller, model and the view's CGridView work together. It explains simple things - as well as more complex things that you will anyway quickly have to know. So, even if you don't use dynamic gridviews, take a morning off and thoroughly work through this tutorial. It should save you lots of struggling.

Display an AJAX tree from your DB using CTreeView

Created 7 years ago by François GannazTutorials10 comments – viewed 57,604 times – ( +21 / -1 ) – 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

AngularJS Frontend:Connecting it with a Yii Backend REST API.Gallery Manager Demo Application.

Created 4 years ago by drumaddictHow-tos15 comments – viewed 84,393 times – ( +21 / -1 ) – version 1.1
AngularJS Frontend:Connecting it with a Yii Backend REST API.Gallery Manager Demo Application.

Overcoming removal of client helpers (e.g. ajaxLink) and ClientScript in Yii 2.0

Created 3 years ago by Kartik VFAQs2 comments – viewed 24,635 times – ( +40 / -5 ) – version 2.0
With Yii Framework 2.0, one of the many changes, that Yii 1.x developers will face is removal of all client helpers and revamp of the CClientScript functionality. For example no more CHtml::ajaxLink or Html::ajaxLink. How do you cater to such requirements in Yii 2.0?

CListView AJAX filtering

Created 6 years ago by DragaTutorials17 comments – viewed 63,952 times – ( +17 / -1 ) – version 1.1
This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users In my case this has been done to filter users list

Update/delete model with CJuiDialog (works in CGridView)

Created 6 years ago by ifdatticTutorials6 comments – viewed 67,853 times – ( +15 / -1 ) – version 1.1
This is based on this article.

Ajax update

Created 6 years ago by zaccariaTips2 comments – viewed 48,604 times – ( +21 / -3 ) – version 1.1
Often happens to have the need of change a part of the page with ajax.
tags: AJAX

Using loginRequiredAjaxResponse to solve ajax session timeout

Created 5 years ago by RutgerHow-tos3 comments – viewed 27,302 times – ( +13 / -1 ) – version 1.1
This solution requires Yii 1.1.9 or above

An Easy Solution for Dependent dropDownList Using AJAX

Created 4 years ago by mrsTips11 comments – viewed 83,406 times – ( +16 / -2 ) – 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.