The url of the call is in the same domain.

I added the error property but it still always comes back a success in
both FF and IE.

On Sep 3, 8:09 am, gil <gilalbe...@gmail.com> wrote:
> The url of the call it's in the same domain? Because, FF does allow
> cross domain.
>
> Also, try adding the error property, to see the message.
>
> On Sep 2, 3:58 pm, RPrager <ryan.pra...@gmail.com> wrote:
>
> > Hello Everyone,
>
> > I'm fairly new to using ajax with jQuery and I'm having an issue in
> > firefox. Here's my ajax call:
>
> > $.ajax({
> >                 type: "POST",
> >                 url: "newcoleng",
> >                 data: "F10=Yes&F11=No",
> >                 success: function(data){
> >                          alert( "Data Saved: " + data );
> >                 }
> >          });
>
> > The post always comes back a success in both IE and Firefox. The html
> > response comes back as expected when using IE. However, the html
> > response when using Firefox brings back an error from the server
> > instead of what is expected.
>
> > I'm not sure why there is a difference when using Firefox. My guess is
> > that the content-type that the server is expecting is not correct when
> > using Firefox. I've been searching all over the internet for an
> > answer.
>
> > Any ideas?
>
> > Thanks!

Reply via email to