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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:52:03+00:00 2026-05-23T19:52:03+00:00

I am using the latest jstree commit from github with the checkbox plugin as

  • 0

I am using the latest jstree commit from github with the checkbox plugin as a part of my form. I am using the tree with the “real_checkboxes” attribute.

Everything is fine except the checkbox plugin does not actually add any changed property attribute to the hidden field and nor does it seem to have a external function that will allow me to hook in to create custom functionality.

Is it possible for me to understand and listen for when a checkbox is either ticked or unticked?

Thanks,

UPDATE: after doing some experimenting I was able to over ride the default functionality of the check and uncheck methods using:

$.jstree._instance.prototype.check_node = function(node){ alert("here"); }

However it isn’t very clean and it does override the whole method.

Is there:

a) a cleaner way to do it?
b) a way to just do a callback on the function rather than replacing the whole damn thing?

Thanks again,

  • 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-23T19:52:03+00:00Added an answer on May 23, 2026 at 7:52 pm

    @Noctyrn

    Yes I did that originally but then I looked through the docs a lot more closely and found this:

    $(".js_tree_'.$this->attribute.' div").bind("check_node.jstree", function(){});
    

    But yes your function does the same :). But since mine is right to the jsTree docs Ima mark my answer as the right one. Also that function allows for different trees on the same page to have different binds so it is better overall :).

    Thanks for the help :),

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

Sidebar

Related Questions

I'm using the latest WPF toolkit , specifically the DatePicker . Everything works fine,
Using the latest SDK from Apple, I noticed that while running on the iPhone
I have a tree generated with JSTree in my JSP page (part of a
I am using latest version of the tablesorter plugin and I need to sort
I am using latest version of jQuery Autocompletion plugin and have populated an array
I am using latest codeigniter and trying to call stored procedure from my model.
Does anybody using latest enterprise library 4.1 in mono? I used mono migration analyzer
Currently I'm building an application using latest Prism for Silverlight 4. I've a module
Using the latest version of Resharper (4.5.x) with VS2008. Every now and then (pretty
I'm using the latest nightly build, VS2008 prof trial and .NET 3.5 and I'm

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.