facebook

Loading external XML : CLOSED

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #343890 Reply

    Funci
    Participant

    Hi guys,

    I must periodically download fresh data in “1.xml” files to my application.
    When is that made like web page that is OK, but I don’t know how to write path to that file for using in Andriod or iPhone app.

    Here is my code:

                $.get('1.xml',function(d){
                    data= [];
                    $(d).find('li').each(function(){
                        var inf= $(this).text();
                        data.push(inf);
                    });
                });            
    

    Please somebody… 🙂

    #343904 Reply

    Funci
    Participant

    Solved!
    Just made mistake in typing…

    $.get('http://www.projecz.com/1.xml',function(d){
    #343909 Reply

    Hi Funci,

    Thanks for your follow up. Closing the thread.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Loading external XML : CLOSED

You must be logged in to post in the forum log in