Wiki

Articles tagged with "ajax request"X
Displaying 1-7 of 7 result(s).

checkBox in CGridview

Created 2 years ago by n-rOthers1 comment – viewed 17,257 times – ( +1 / -1 ) – version 1.1
some when you need to add checkbox in cgridview and change state of selected rows by additianal parameters. in view :

Open bootstrap modal and load content via Ajax

Created 3 years ago by JbalTeroHow-tos1 comment – viewed 46,432 times – ( +3 / -1 ) – version 1.1
My goal here is to Open bootstrap modal and load ANY content using ajax response.

default csrf security and ajax post in one controller

Created 3 years ago by jasonbanTutorials3 comments – viewed 14,904 times – ( +1 / -4 ) – version 1.1
Hello Yii friends

Simple Ajax popup

Created 4 years ago by Rajith RTutorials1 comment – viewed 38,458 times – ( +11 / -14 ) – version 1.1
Simple Ajax popup view with Ajax link

Create custom button button with AJAX function in CGridView

Created 5 years ago by nkdHow-tos2 comments – viewed 55,478 times – ( +19 / -1 ) – version 1.1
CButtonColumn in CGridView can be customised to include user built buttons. To learn a great deal about including custom buttons, read this excellent wiki. This tutorial will show how to call an action from one custom button using AJAX instead of regular GET calls.

How to show ajax delete status in CGridView like flash messages

Created 6 years ago by hasanaviHow-tos12 comments – viewed 46,878 times – ( +25 / -1 ) – version 1.1
I've seen many tickets regarding how to show friendly delete confirmation using CGridView's CButtonColumn in ajax request. If you are using relational database, after producing CRUD functionality when you try to delete a record in ajax mode which has child record it can't be deleted and you can see the ajax loader forever. By this way you can't show the users if a record has been successfully deleted or if there are some problem in flash style (setFlash() / getFlash())

How to avoid multiple Ajax Request

Created 6 years ago by nickcvHow-tos26 comments – viewed 55,517 times – ( +25 / -3 ) – version 1.1
CHtml::ajaxLink(), CHtml::ajaxSubmitButton() and similar methods are great, but if they are located inside a portion of the page that is already loaded via ajax something bad will happen, something you may even not notice if you are not using tools like firebugs: the sent ajax requests will multiply themselves.