Wiki

Articles tagged with "ajax"X
Displaying 1-10 of 49 result(s).

Make an ajax request to another server using JSONP

Created about a month ago by KonApazTips0 comments – viewed 1,066 times – ( +1 ) – version 1.1
There are cases that you want to make an ajax request to another server and get the results.

Render a form in a Modal Popup using ajax

Created about a month ago by thiagoc7How-tos0 comments – viewed 3,244 times – ( +2 ) – version 2.0
Nowdays is very common webapps use this feature. With Yii2 this is very easy.
tags: yii2, AJAX, modal

Update specific cgridview html row after AJAX request

Created about a month ago by KonApazHow-tos3 comments – viewed 1,448 times – ( +1 ) – version 1.1
After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)

Insert a model record using CGridview

Created about a month ago by KonApazHow-tos0 comments – viewed 1,279 times – ( +1 ) – version 1.1
CGridview displays existent rows of the table (using DataProvider)

Overcoming removal of client helpers (e.g. ajaxLink) and ClientScript in Yii 2.0

Created 2 months ago by Kartik VFAQs0 comments – viewed 873 times – ( +25 / -4 ) – version 2.0
With Yii Framework 2.0, one of the many changes, that Yii 1.x developers will face is removal of all client helpers and revamp of the CClientScript functionality. For example no more CHtml::ajaxLink or Html::ajaxLink. How do you cater to such requirements in Yii 2.0?

Open bootstrap modal and load content via Ajax

Created 2 months ago by JbalTeroHow-tos1 comment – viewed 4,962 times – ( +1 ) – version 1.1
My goal here is to Open bootstrap modal and load ANY content using ajax response.

Update CGridview row separately using ajax request

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

Select2 Infinite Scroll With Remote Data in Yii

Created 3 months ago by amanationHow-tos5 comments – viewed 2,895 times – ( +4 ) – version 1.1
I was able to set up the infinite scroll of select2 in Yii. I am glad to share it with you. The demo and source code can be found here. However, select2 for Yii can be found here which uses a widget.

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

Created 4 months ago by SelvakumarHow-tos1 comment – viewed 13,861 times – ( +2 ) – 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

How to apply a layout to an AJAX update

Created 5 months ago by trondHow-tos1 comment – viewed 3,007 times – ( +1 ) – version 1.1
The template system in Yii is quite flexible. By default you have three layers of content:
tags: AJAX, views