Ah, my bad. Form.send takes one argument, the url. It automatically makes
$(this) be the data.

So just make it

this.send(url);


On Sat, Nov 27, 2010 at 6:14 PM, Dailce <[email protected]> wrote:

> strange
>
>    add: function (ev) {
>        (new Event(ev)).stop();
>         var b = this.getProperty("title");
>         alert(this.getProperty("action")); //SHOWS the proper
> webaddress to send the data too
>        this.send({
>            url: urlis,
>            data: $(this)
>        });
>
> but fire bug shows an error that the post is:
> http://127.0.0.1/mysite/%5Bobject%20Object%5D
> and not http://127.0.0.1/mysite/my_ajax_cart.php

Reply via email to