I'm using the latest RC3. Chrome sends ajax request twice, and Opera -
even 3 times.

Chrome 6.0.742.63, Opera 10.63 - both on ubuntu linux, but on windows
results are the same.

Here's code:

...
this.options.comm_send.observe('click',
this.sendComment.bindAsEventListener(this)); //binding onclick to
button
...
        sendComment: function(e) {
                new Ajax.Request(this.url, {
                parameters: this.options.comm_send_form.serialize(true),
                onComplete: function(transport){
                                var resp = transport.responseJSON;
                                ...
                }.bind(this)
            });
        }
...

-- 
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-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to