11 Replies Latest reply on Nov 10, 2016 10:38 PM by VectorP

    JQuery Ajax not working

    deangeloalmeus Level 1

      Hello am creating an app that uses jquery ajax get method to receive data from a text file to use for my app, its working great in the browser but when export my app to android using PhoneGap the text is not displaying. But the rest of the app has loaded now i assume this is because something went wrong. Am new to PhoneGap can anyone assist me this is my code

       

      <!-- Ajax code -->

      $.get('/info/animal.txt',function(data){

          var lines = data.split("~");

       

         

      });