Wiki

Articles tagged with "ajax", sorted by viewsX
Displaying 1-10 of 50 result(s).

By Example: CHtml

Created 4 years ago by jonahTutorials15 comments – viewed 490,211 times – ( +101 / -1 ) – version 1.1
"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.

How to include Javascript, CSS

Created 9 months ago by InterboyHow-tos2 comments – viewed 284,242 times – ( +7 / -2 ) – version 1.1
There are many methods that we can include javascript, css into your Yii App. Today I will demonstrate three simple and helpul methods.

Creating a dependent dropdown

Created 5 years ago by dalipTutorials46 comments – viewed 239,684 times – ( +107 / -3 ) – version 1.1
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.

Update content in AJAX with renderPartial

Created 4 years ago by BurzumTutorials15 comments – viewed 169,363 times – ( +57 ) – version 1.1
The easiest way to update content in AJAX is to use the renderPartial method.
tags: AJAX

Javascript and AJAX with Yii

Created about a year ago by Fran├žois GannazHow-tos2 comments – viewed 88,707 times – ( +39 ) – version 1.1
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".
tags: javascript, AJAX

CJuiDialog and AjaxSubmitButton

Created 4 years ago by tydeas_drTutorials22 comments – viewed 83,442 times – ( +37 / -2 ) – version 1.1
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.
tags: AJAX

Ajax form submiting in Yii

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

CJuiDialog for create new model

Created 3 years ago by zaccariaTutorials44 comments – viewed 74,968 times – ( +62 ) – version 1.1
In this tutorial we will learn how to realize a create interface using a dialog.

CGridView, CListView and CActiveDataProvider

Created about a year ago by softarkTutorials21 comments – viewed 73,949 times – ( +45 ) – version 1.1
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.

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

Created 2 years ago by Gerhard LiebenbergTutorials20 comments – viewed 58,426 times – ( +24 / -1 ) – 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.