Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8577795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:14:22+00:00 2026-06-11T20:14:22+00:00

Am new to phonegap. Now am using phonegap2.0 in my Lion mac. My xcode

  • 0

Am new to phonegap. Now am using phonegap2.0 in my Lion mac. My xcode version is 4.3. Now i created Tableview for iphone app using html. And i created array with some values using JavaScript. Please see this below link: In this below link i have attach my html file and my Javascript file.

"http://pastie.org/4779045"

Now i want to load the array values in tableview. Please some body help me to load done this issue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:14:24+00:00Added an answer on June 11, 2026 at 8:14 pm

    Here is a sample code

    HTML part :

    <!--HTML code -->
    <ul data-role="listview" data-inset="true" id="lstMyList">
    </ul>
    

    Javascript

    /*javascript code*/
    var i;
    var names= new Array();
    names[0] = "Gopi";
    names[1] = "Vinoth";
    names[2] = "Yuvaraj";
    
    for (i=0;i<names.length;i++){
        $('#lstMyList').append('<li><a href="#">'+names[i]+'</a></li>');//append list items to the list view dynamically 
    }
    //If you add items to a listview, you'll need to call the refresh() method on it to update the styles and create any nested lists that are added.
    $('#lstMyList').listview("refresh");
    

    Hope its clear for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to phonegap2.0. Now i want to create iphone app using phonegap.
I am new to iphone develop and phonegap also. Now i installed phonegap2.0 version
I want to create iPhone app using phonegap Cordova 2.0. Now i wrote Javascript
I created an app in HTML/CSS. It works fine in the iPhone. Now I'm
I have an iPhone app that I built using PhoneGap. I'm now looking to
I am new to develop iphone and phonegap also. Now I wants to create
after using my App created with PhoneGap + iOS for some time, the app
I am new to PhoneGap, and I am building an app using PhoneGap +
I am new to Windows Phone (using PhoneGap). Where does the created file get
I'm new to mobile development. I'm using Phonegap/Cordova to create a cross-platform app. My

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.