Wiki

Articles tagged with "ajax", sorted by ratingX
Displaying 21-30 of 49 result(s).

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 2 years ago by Antonio RamirezTutorials2 comments – viewed 14,957 times – ( +12 / -1 ) – version 1.1
Sometimes the active form we wish to use to edit/add a new element on our database is too small and we believe that is much better to use an AJAX'ed dialog/slide form rather than reloading the page to just display one or two fields.

Avoiding duplicate script download when using Ajax calls to render different Views

Created 2 years ago by Antonio RamirezTips5 comments – viewed 17,503 times – ( +12 / -1 ) – version 1.1
I had to partially render two types of views, depending on user selection. Wanted to display a GRID or a LIST style with an event that AJAX'ed new contents and update a layer with them.
tags: tutorial, AJAX, views

An Easy Solution for Dependent dropDownList Using AJAX

Created about a year ago by mrsTips10 comments – viewed 44,383 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.

How to render a view in Fancybox using ajax

Created about a year ago by rix.rix.How-tos1 comment – viewed 16,400 times – ( +6 ) – version 1.1
Sometimes you want to render a view in Fancybox.
tags: fancybox, ajax, views

Elementary introduction to using jQuery ajax and the yii framework

Created about a year ago by dhimesHow-tos4 comments – viewed 25,258 times – ( +6 ) – version 1.1
In doing internet searches trying to learn how to incorporated ajax into web pages generated by the yii framework I noticed that there seems to be a lot of confusion. I worry that too-clever hacks will be broken in upgrades of the framework.
tags: AJAX

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 9 months ago by InterboyHow-tos0 comments – viewed 10,998 times – ( +5 ) – version 1.1
Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

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

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

Update CGridview row separately using ajax request

Created 2 months ago by KonApazHow-tos3 comments – viewed 1,984 times – ( +5 ) – version 1.1
There are cases you want to update a record on CGridview directly

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

Created about a year ago by le_topTips0 comments – viewed 6,173 times – ( +5 ) – version 1.1
Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.

Popup AJAX DialogBox without any extension

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