Yes, you were right. It was a 404, but I didn't realize this first.
Thanks.
Jan Kassens wrote:
> you should check what your server returns. Firebug can log all
> XmlHttpRequests, so they probably go 404
>
>
> On Oct 21, 2008, at 18:51, Cristisor wrote:
>
> >
> > Hello. I'm trying to make a request to the server using MooTools and I
> > don't know why, but it doesn't work. This is my request:
> > var myRequest = new Request({url : _url,
> > data : _data,
> > onSuccess: function() {
> > alert('Merge');
> > },
> > onFailure: function() {
> > alert('Nu merge');
> > }
> > });
> > myRequest.send();
> > I'm using the 'post' method as the default. Every time it goes to the
> > onFailure branch. I used prototype until now, so I'm new to MooTools.
> > Thank you!
>
> --
> my blog: http://blog.kassens.net