Wiki

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

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

Created 3 years ago by Antonio RamirezTips6 comments – viewed 19,711 times – ( +13 / -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

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

Created 27 days ago by skwordenHow-tos0 comments – viewed 3,302 times – ( +8 ) – version 2.0
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.

Updating fields on a form with Ajax and Json

Created 4 years ago by Russell EnglandHow-tos4 comments – viewed 48,945 times – ( +12 / -1 ) – 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.

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 3 years ago by Antonio RamirezTutorials2 comments – viewed 16,790 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.

How to render a view in Fancybox using ajax

Created 2 years ago by rix.rix.How-tos1 comment – viewed 19,356 times – ( +7 ) – 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 2 years ago by dhimesHow-tos4 comments – viewed 30,527 times – ( +7 ) – 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

Update CGridview row separately using ajax request

Created about a year ago by Kostas Apazidis (KonApaz)How-tos6 comments – viewed 8,316 times – ( +6 ) – version 1.1
There are cases you want to update a record on CGridview directly

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

Created about a year ago by InterboyHow-tos1 comment – viewed 16,949 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 about a year ago by Kostas Apazidis (KonApaz)How-tos5 comments – viewed 22,209 times – ( +5 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.

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

Created 2 years ago by le_topTips0 comments – viewed 7,361 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.