I tried to nest ajax requests. I think this should be possible, but
just the outer is executed properly.

The script is working till the update in the onComplete function. The
ajax.updater is not started. Firebug has no network activity and
nothing happens.

Any idea where the error is? Probably I am just too blind.

Thanks in advance

new Ajax.Request(commentAjaxPath+"comments.ajax.php5", {
        method: "post",
        parameters: {
                get: "saveComment",
                senderName: $F('senderName'),
                senderEmail: $F('senderEmail'),
                text: $F('text'),
                recaptcha_challenge: Recaptcha.get_challenge(),
                recaptcha_response: Recaptcha.get_response(),
                pageFeatureID: $F('pageFeatureID'),
                sendNotification: $F('sendNotification')

        onComplete: function(transport) {
                if(Object.isString(transport.responseText)) {

                        new Ajax.Updater('comments', 
                                                parameters: {
                                                        get: "showComments",
                                        pageFeatureID: $F('pageFeatureID')
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to