Difference between #2 and #3 of
Elementary introduction to using jQuery ajax and the yii framework

Revision #3 has been created by dhimes on Sep 13, 2012, 12:08:58 PM with the memo:

Added a comment to the code based on François' comment below.
« previous (#2) next (#4) »

Changes

Title unchanged

Elementary introduction to using jQuery ajax and the yii framework

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

AJAX

Content changed

[...]
~~~
[javascript]
ajaxCall = function(a){
jQuery.ajax({
                // The url must be appropriate for your configuration;
 
                // this works with the default confi of 1.1.11
 
url: 'index.php?r=app/ajaxProcessor',
type: "POST",
data: {ajaxData: a},
error: function(xhr,tStatus,e){
if(!xhr){
alert(" We have an error ");
[...]
2 0
15 followers
Viewed: 53 059 times
Version: 1.1
Category: How-tos
Tags: AJAX
Written by: dhimes
Last updated by: François Gannaz
Created on: Sep 12, 2012
Last updated: 11 years ago
Update Article

Revisions

View all history