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

The Archive Base Latest Questions

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

i did a descendant tree for an entity in my app, using the libray

  • 0

i did a descendant tree for an entity in my app, using the libray jstree. I do what is usual to use it:

  • show an <ul> & <li> structure as usual
  • then i apply the .jstree(...) function to the parent <div> of the structure.

I’m sorry but i can’t provide you my source code because is dynamically generated from diferent parts of the app, but i can show a result example of the <ul>&<li> structure:

<div id="unidadtree">
<ul>
    <li id=182 ><a href="-censored-">Node-name</a></li>
    <li id=170 ><a href="-censored-">Node2-name</a>
        <ul>
            <li id=179 ><a href="-censored-">Node2.1-name</a></li>
            <li id=171 ><a href="-censored-">Node2.2-name</a>
                <ul>
                    <li id=172 ><a href="-consored-">Node2.2.1-name</a></li>
                </ul>
            </li>
            <li id=176 ><a href="-censored-">Node2.3-name</a>
                <ul>
                    <li id=178 ><a href="-censored-">Node2.3.1-name</a></li>
                    <li id=177 ><a href="-censored-">Node2.3.2-name</a></li>
                </ul>
            </li>
            <li id=175 ><a href="-censored-">Node2.4-name</a>
                <ul>
                    <li id=33 ><a href="-censored-">Node2.4.1-name</a>
                        <ul>
                            <li id=137 ><a href="-censored-">Node2.4.1.1</a></li>
                        </ul>
                     </li>
                </ul>
            </li>
        </ul>
    </li>
</ul>
</div>

then the js function converting that list into a jstree is:

`

$("#unidadtree").jstree({
    "themes" : {
        "theme" : "custom",
        "dots" : false,
        "icons" : true,
    }
});`

The problem is that, few times (about 1 of each 50 times) the javascript function seems to not load properly. The result that i see is a normal html <ul> & <li> structue. The really strange issue is the low frequency of the error. Could be not my fault? Is someone else having this problem?

thank you very much for your time! 😀

  • 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-27T01:35:53+00:00Added an answer on May 27, 2026 at 1:35 am

    It could be because your ID attributes are invalid. In HTML, you should not have all-numeric values for ID. See this post: What are valid values for the id attribute in HTML?

    Also, the ID’s should be surrounded by quotes within the source.

    I have experienced cases where all-numeric ID’s like you have, have led to unexpected results in some browsers.

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

Sidebar

Related Questions

Did you ever use Oracle auditing features on a production db? How did that
I am using a DevExpress TdxMemData in memory TDataSet descendant. While it has Filtered:
Did you ever have to choose between WISA or LAMP at the beginning of
Did you ever had a bug in your code, you could not resolve? I
Did anyone of you ever find a way of getting the Microsoft Report Viewer
Did Microsoft abandon support for Windows Presentation Foundation (WPF) on Visual Studio 2005? There
Did the recent purchase of MySQL by Sun and the subsequent buggy releases kill
Did you know that : Map<Object,Object> m1 = new HashMap<Object, Object>(); Map<Object,Object> m2 =
Did anyone try that feature and has some feedback? Or Does anyone know some
Did anyone try to read programmatically an Alibre Design CAD file? I see that

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.