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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:07:09+00:00 2026-05-20T20:07:09+00:00

I just can not figure this out, or find any docs. I have a

  • 0

I just can not figure this out, or find any docs.

I have a bare-bones JSON:

{
“data”: “node”,
“metadata” : { “content”: “hellooooo” }
}

This gets loaded, but I can not figure out how to write to this field, retrieve this field, and ensure that it is made when a new node is created.

Where are the docs for metadata?

Thanks,
Marco.

  • 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-20T20:07:10+00:00Added an answer on May 20, 2026 at 8:07 pm

    I found the answer at http://groups.google.com/group/jstree/browse_thread/thread/28d0c8d3eb2d9f8f

    if you’re using JSON and you deliver
    your nodes with a metadata like this:

    {
    "data":  "This is the name of the node",
    "metadata": {
         "number": "no1",
         "description": "Description"
      }
    }
    

    …you’ll be able to get (and set) the
    data like this:

    $('div#jstree').jstree(
    /*  ...options...  */
    ).bind('select_node.jstree',
    function(e, data){
         alert(  $(data.rslt.obj).data('description') 
     ); });
    

    This works with the newest commit
    (rc3/r233). In older versions it uses

    $(data.rslt.obj).data("jstree").description 
    

    The last solution worked for me (the default download for now is rc2).

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

Sidebar

Related Questions

this should be really simple but I can just not figure it out at
How can I update this regular expression to find and replace not just /news/
I'm looking after this for a long time now. I just can't find any
I just cannot figure this out, it looks really simple but I'm relatively new
Ok, I am very close to the solution but I just can not figure
Hello I have a very weird problem in chrome I just cannot figure out!
I just can't realize why my read time out is not working. All I
Not sure if yall can help this time, as I'm just using this particular
Maybe I am just falling asleep (or not!), but how can you do this:
Ok really easy I know but not for me... I can not figure this

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.