Wiki articles tagged with "AJAX"

Showing 1-19 of 55 items.

By Example: CHtml

Created 15 years ago by jonah, updated 9 years ago by glicious.

"By Example" cookbook pages will provide coding examples for many of the commonly used classes within Yii. We will try to provide as many usage examples as possible for keep these pages as helpful as possible.

79 0
74 followers
Viewed: 998 467 times
Version: 1.1
Category: Tutorials

Creating a dependent dropdown

Created 16 years ago by dalip, updated 10 years ago by Paul_Kish.

Often you'll need a form with two dropdowns, and one dropdown's values will be dependent on the value of the other dropdown. Using Yii's built-in AJAX functionality you can create such a dropdown.

83 2
92 followers
Viewed: 421 932 times
Version: 1.1
Category: Tutorials

Update content in AJAX with renderPartial

Created 15 years ago by Burzum, updated 12 years ago by hairylunch.

The easiest way to update content in AJAX is to use the renderPartial method.

43 0
46 followers
Viewed: 367 321 times
Version: 1.1
Category: Tutorials
Tags: AJAX

Render Form in popup via AJAX (Create and Update) with ajax validation & Also load any page via ajax Yii 2.0 (2.3)

Created 10 years ago by skworden, updated 7 years ago by Yii3.

There are a few issues with the other solutions I originally used that I found from other wikis. I address the issues I had in this much simpler and shorter way. I am also going to explain what is going into way more detail than others to help people understand what's going on.

21 0
28 followers
Viewed: 253 331 times
Version: 2.0
Category: How-tos

Javascript and AJAX with Yii

Created 12 years ago by François Gannaz, updated 11 years ago by François Gannaz.

This page intends to provide an exhaustive guide of how to use Javascript (JS) in Yii. It does not explain how to learn coding in JS, but how to deal with it "the Yii way".

23 0
30 followers
Viewed: 183 888 times
Version: 1.1
Category: How-tos

Ajax form submiting in Yii

Created 12 years ago by sirin k, updated 8 years ago by Maurizio Domba Cerin.

hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

4 3
23 followers
Viewed: 170 902 times
Version: 1.1
Category: Tutorials

CJuiDialog to create new model

Created 14 years ago by zaccaria, updated 9 years ago by Maurizio Domba Cerin.

In this tutorial we will learn how to realize a create interface using a dialog.

55 0
64 followers
Viewed: 169 268 times
Version: 1.1
Category: Tutorials

CGridView, CListView and CActiveDataProvider

Created 12 years ago by softark, updated 11 years ago by softark.

CGridView (or CListView) together with CActiveDataProvider is a very powerful combination of the built-in tools of Yii. But how do they work together to accomplish their fantastic functions? And what are you expected to do to use them and to customize their behaviors? This article explains the very basics of them.

26 0
33 followers
Viewed: 146 756 times
Version: 1.1
Category: Tutorials

Date Picker by examples

Created 11 years ago by Interboy, updated 10 years ago by Alfa Adhitya.

CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

6 0
7 followers
Viewed: 142 768 times
Version: 1.1
Category: How-tos

CJuiDialog and AjaxSubmitButton

Created 15 years ago by tydeas_dr, updated 13 years ago by phazei.

Hello ppl. Even though i have a small experience with yii I though of writing this to help people which want to do something similar.

33 1
45 followers
Viewed: 130 113 times
Version: 1.1
Category: Tutorials
Tags: AJAX

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

Created 13 years ago by Gerhard Liebenberg, updated 11 years ago by Gerhard Liebenberg.

Many desktop programmers are used to having dynamic forms, where clicking on a record in a parent sub-form, updates another sub-form with the child records. While having many levels of nested sub-forms in a single view might not be such a good idea for a web application, I thought doing it one level deep might be interesting and useful. But, instead of sub-forms I used CGridViews.

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

Created 12 years ago by drumaddict, updated 11 years ago by Castea.

For best experience,use Chrome.Other browsers may complain here and there.Sorry,no patience to make happy every freaking browser out there!

17 0
37 followers
Viewed: 106 891 times
Version: 1.1
Category: How-tos

An Easy Solution for Dependent dropDownList Using AJAX

Created 12 years ago by mrs, updated 11 years ago by Kostas Apazidis (KonApaz).

Sometimes new Yii guys face problem to manage dependent dropDownList using AJAX. I am going to discuss an easy solution about this issue.

7 1
24 followers
Viewed: 104 162 times
Version: 1.1
Category: Tips

Updating fields on a form with Ajax and Json

Created 14 years ago by Russell England, updated 14 years ago by Russell England.

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.

10 0
22 followers
Viewed: 97 132 times
Version: 1.1
Category: How-tos

How to add a DropDown Language Picker (i18n) to the Menu

Created a year ago by JQL, updated a year ago by JQL.

Yii comes with internationalisation (i18n) "out of the box". There are instructions in the manual as to how to configure Yii to use i18n, but little information all in one place on how to fully integrate it into the bootstrap menu. This document attempts to remedy that.

1 0
1 follower
Viewed: 83 359 times
Version: 2.0
Category: How-tos

CListView AJAX filtering

Created 14 years ago by Draga, updated 14 years ago by Draga.

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

13 0
27 followers
Viewed: 79 318 times
Version: 1.1
Category: Tutorials

How to add ajax-loading indicators

Created 15 years ago by schmunk, updated 13 years ago by Yang He.

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.

23 0
25 followers
Viewed: 79 026 times
Version: 1.1
Category: Tutorials
Tags: AJAX

Update/delete model with CJuiDialog (works in CGridView)

Created 13 years ago by ifdattic, updated 13 years ago by ifdattic.

This tutorial will show you how to create Ajax dialog which allows to create new model, update or delete existing model. It works with simple links, CGridView button column links, adds a minimal amount of code and degrades gracefully with JavaScript turned off.

15 0
25 followers
Viewed: 78 555 times
Version: 1.1
Category: Tutorials

Display an AJAX tree from your DB using CTreeView

Created 15 years ago by François Gannaz, updated 13 years ago by François Gannaz.

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).

19 0
21 followers
Viewed: 75 213 times
Version: 1.1
Category: Tutorials