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

  • Home
  • SEARCH
  • 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 an application targeting .NET Framework 2.0 using C# for which I need
When developing a plug-in to application, using the application API which doesn't run independently
I am developing a multi-threading application, which is deadlocking. I am using Visual C++
I'm developing a web- application using NHibernate. Can you tell me how to write
I'm developing a CakePHP 1.3 application which needs to login users backend and frontend.
I'm developing a Grails (Version 1.3.3) Web-Application using the Grails Spring-Security Plugin, Spring-Security-Core-1.0.1 (which,
I am using netbeans for developing java dextop application,I have created a JFilechooser which
I`m developing an application using Spring WebFlow 2, Facelets and JSF. One of my
I am developing an application using MVC Preview 5. I have used typed views.
I am developing an application using Windows Mobile 5.0, under embedded VC++ 4.0, and

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.