Wiki

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

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 93,254 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.

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

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

An Easy Solution for Dependent dropDownList Using AJAX

Created 4 years ago by mrsTips11 comments – viewed 83,909 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.

Update/delete model with CJuiDialog (works in CGridView)

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

CListView AJAX filtering

Created 6 years ago by DragaTutorials17 comments – viewed 64,224 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

Display an AJAX tree from your DB using CTreeView

Created 7 years ago by François GannazTutorials10 comments – viewed 57,877 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

Updating fields on a form with Ajax and Json

Created 6 years ago by Russell EnglandHow-tos4 comments – viewed 57,578 times – ( +12 / -2 ) – version 1.1
I'm developing a website that has an option to look up a car's registration number via SOAP and return additional details such as make, model, colour etc.

How to add ajax-loading indicators

Created 8 years ago by schmunkTutorials5 comments – viewed 57,304 times – ( +27 / -1 ) – 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

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,995 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.

Upload image and content using AJAX and Store it in different table

Created 3 years ago by Selvakumar KaliyappanHow-tos1 comment – viewed 52,642 times – ( +3 / -1 ) – version 1.1
We all know how to upload the content and images at the same time with refreshing the page. And uploading the images using Ajax we have faced some issues, here i have fixed the issues and both content and photos are uploaded using Ajax. And both content and images are stored in the different tables