Wiki articles tagged with "AJAX"

Showing 1-19 of 48 items.

Background task with Ajax

Created 7 years ago by Alexandre Rodichevski, updated 7 years ago by Alexandre Rodichevski.

This article discusses how one can run a long task in background in yiiframework 1.1 using Ajax technique.

0 0
1 follower
Viewed: 24 438 times
Version: 1.1
Category: Tutorials

How to display images in CJuiAutoComplete without extenstions

Created 8 years ago by Asmaa, updated 4 years ago by samdark.

I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image:

0 0
2 followers
Viewed: 11 580 times
Version: 1.1
Category: Tutorials

How to show Image view after upload and delete view image using eajaxupload extension

Created 8 years ago by Ankit Modi, updated 4 years ago by samdark.

Hi Friends, In this tutorial you can use the eajaxupload-extension ,

0 1
3 followers
Viewed: 21 575 times
Version: 1.1
Category: How-tos

Make an ajax request to another server using JSONP

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

There are cases that you want to make an ajax request to another server and get the results.

1 0
2 followers
Viewed: 13 260 times
Version: 1.1
Category: Tips

Update specific cgridview html row after AJAX request

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

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)

1 0
2 followers
Viewed: 22 562 times
Version: 1.1
Category: How-tos

Insert a model record using CGridview

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

CGridview displays existent rows of the table (using DataProvider)

2 0
1 follower
Viewed: 16 778 times
Version: 1.1
Category: How-tos

Open bootstrap modal and load content via Ajax

Created 9 years ago by JbalTero, updated 9 years ago by JbalTero.

My goal here is to Open bootstrap modal and load ANY content using ajax response.

1 0
2 followers
Viewed: 60 576 times
Version: 1.1
Category: How-tos

Update CGridview row separately using ajax request

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

There are cases you want to update a record on CGridview directly

5 0
8 followers
Viewed: 24 313 times
Version: 1.1
Category: How-tos

Select2 Infinite Scroll With Remote Data in Yii

Created 9 years ago by IsraelAma, updated 9 years ago by CeBe.

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.

3 0
5 followers
Viewed: 20 421 times
Version: 1.1
Category: How-tos

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

Created 9 years ago by Selvakumar Kaliyappan, updated 9 years ago by CeBe.

var formData = new FormData($("#post-form")[0]);
$.ajax({
    url: '<?php echo Yii::app()->createUrl("forumPost/uploadPost"); ?>',
    type: 'POST',
    data: formData,
    datatype:'json',
    // as...
1 0
5 followers
Viewed: 71 331 times
Version: 1.1
Category: How-tos

How to apply a layout to an AJAX update

Created 9 years ago by trond, updated 9 years ago by CeBe.
  1. The Main template holds the header, main navigation and footer
  2. One or more layout files holds the column setup, sub navigation etc.
  3. The view files hold the actual page content.
1 0
4 followers
Viewed: 15 587 times
Version: 1.1
Category: How-tos
Tags: AJAX, views

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

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by CeBe.

Suppose you have an Application in Yii that manages hotels each one has many customers.

2 0
6 followers
Viewed: 40 268 times
Version: 1.1
Category: How-tos
10 0
15 followers
Viewed: 40 072 times
Version: all
Category: Others

Update a part of content using AJAX when select a GridView row

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by CeBe.

Suppose you want to refresh a form or any content when a single row of CGridView is selected

1 0
9 followers
Viewed: 34 208 times
Version: 1.1
Category: How-tos

Date Picker by examples

Created 9 years ago by Interboy, updated 8 years ago by Alfa Adhitya.

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

6 0
7 followers
Viewed: 137 006 times
Version: 1.1
Category: How-tos

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

Created 9 years ago by Interboy, updated 9 years ago by xJose.

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.

3 0
7 followers
Viewed: 33 747 times
Version: 1.1
Category: How-tos

Simple Ajax popup

Created 9 years ago by Rajith R, updated 9 years ago by Rajith R.

Simple Ajax popup view with Ajax link

5 0
9 followers
Viewed: 50 448 times
Version: 1.1
Category: Tutorials

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created 9 years ago by Ankit Modi, updated 8 years ago by Rohit Suthar.

1) include the fancybox extesion otherwise fancybox js

0 0
4 followers
Viewed: 18 116 times
Version: 1.1
Category: Tutorials

Popup AJAX DialogBox without any extension

Created 9 years ago by Kostas Apazidis (KonApaz), updated 7 years ago by Maurizio Domba Cerin.

In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

5 1
6 followers
Viewed: 29 484 times
Version: 1.1
Category: How-tos