Jquery Ajax Request working on Ubuntu but not working on Debian?

Posted by MICADO on Stack Overflow See other posts from Stack Overflow or by MICADO
Published on 2012-06-07T16:32:42Z Indexed on 2012/06/07 16:40 UTC
Read the original article Hit count: 182

Filed under:
|
|

I have a strange bug.

I develop my application under linux ubuntu.

Then i export my project under linux debian for production.

I use a classic $.ajax request which return to url ,a json file to parse its content.

I created a javascript alert() on the sucess part to see what is returned.

Under the developpement version under ubuntu, it's works and i get :

 [object Object],[object Object],[object Object]

Under the production environnement under debian, it's not working and i get my jsonfile content :

    [
   {
      "cell_line" : "",
      "id_user" : "2",
      "public" : "0",

   },{...},{..} ,etc...]

What is going on here? I really don't understand?

How the change of platform (ubuntu to debian) can do this???

There is something I am missing..

I'll really appreciate some help on that. Thanks!

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about AJAX