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 3405066
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:27:35+00:00 2026-05-18T05:27:35+00:00

I am developing an application using which users can update their twitter status. Then

  • 0

I am developing an application using which users can update their twitter status. Then it fetches all messages(i.e. updates) sent by its users & display them in diff windows sorted by msg type. The msg displaying code is:

echo' <ul id="msg" name="msg">';
      foreach ($xml->entry as $status) {
         echo'<li>'.$status->content.'</li>';
}
echo'</ul>';  

What now I need to do is that any new messages could be entered as a sub-list items of another message that is already displayed there. Like if a messages ‘A’ is displayed by app, user could enter a new message ‘B’ as its sub-list item. I need to make three levels i.e. parent msg, subLevel-1, & subLevel-2

  • 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-05-18T05:27:36+00:00Added an answer on May 18, 2026 at 5:27 am

    Try this:
    1. give the parent element(the ‘ul’) an id or a name, for instance ‘<ul id=”dynamicList”>’.
    2. create the element you would like to generate (in this case ‘li’):
    var element1 = document.createElement(‘li’);
    element1.innerHTML = “foobar”;
    3. After you’re done creating whatever elements you needed, append the elements where they belong:
    document.getElementById(‘dynamicElement’).appendChild(element1);

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

Sidebar

Related Questions

I'm developing this Android application where users can update their SQLite database to the
I'm developing an application in which users upload pictures to server and then send
I am developing a quiz application using LWUIT where users can choose from different
I'm developing a application using Java RMI which enable clients to register topics they
I'm developing an application using the WAF (WPF Application Framework) which is based on
I am developing blackberry application using BlackBerry JDE 5.0.X , in which i am
I am developing an application in which I am using GET REST call to
I am developing an application in which i am using location service. Basically that
I'm developing an application which draws some charts and I'm using Google Chart. After
I am developing an iPad application by which i am using image context to

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.