title: Get selected values from js tree without disabled
body: <p>I have js tree and some nodes are disabled. I want to get selected node values without <code>disabled</code> nodes.</p>
  
  <p><a href="https://i.stack.imgur.com/N3W4A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N3W4A.png" alt="enter image description here"></a></p>
  
  <p>I used the following code to get selected node values, but it includes disabled values too</p>
  
  <pre><code>$(document).on('click', '#users_perm_save', function (event) {
         var result = $('#jstree').jstree('get_selected'); 
      });
  </code></pre>
  
  <p>What will be the reason ?</p>