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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:14:09+00:00 2026-05-30T11:14:09+00:00

Having difficulty checking (checkbox) all nodes by a specific class here is what i

  • 0

Having difficulty checking (checkbox) all nodes by a specific class

here is what i have so far, i’m trying to check all the nodes that have the class checkMe

$('.MyTree').jstree('check_node', 'li.checkMe');

Unfortunately it doesnt work 🙂

I can only seem to check or unchecl all the nodes by doing

$('.MyTree').jstree('check_all'); //or uncheck_all

Any ideas?

Thanks in advance

  • 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-30T11:14:11+00:00Added an answer on May 30, 2026 at 11:14 am

    Solution

    Why do you find the solutions after you posted on SO and after hours of previous searching 🙂

    *Check*:  
    $.jstree._reference('#mytree').check_node('#id-of-node'); 
    
    *Uncheck*:
    $.jstree._reference('#mytree').uncheck_node('#id-of-node');
    
    *Toggle check*:
    $.jstree._reference('#mytree').change_state('#id-of-node');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Having difficulty articulating this correlated subquery. I have two tables fictitious tables, foo and
I'm having difficulty using MooseX::Declare properly when calling BUILDARGS. I'm trying to create an
I am having difficulty deploying RIA services/Silverlight 3 to a staging environment. Here is
Having difficulty making my javascript act the way I want. I have a button,
We are having difficulty decrypting a string in ColdFusion that was previously encrypted with
We're having a real problem with people checking in code that doesn't work because
I am having difficulty finding a list of all of the inbuilt icons in
I'm having difficulty testing some logic that uses notifications. I've read about enforcing that
I'm having difficulty writing a trigger that sets the rank column to the max
I'm having difficulty getting the binding to fire off on a user control 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.