title: How to get jstree all checked node text
body: <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript"&gt;
          $("#tree").jstree({
                      "core" : {
                          "themes" : {
                              "responsive": false
                          }, 
                          "check_callback" : true,
                          'data': [
          {
              "id": "10",
              "text": "Parent Node",
              "children": [
                  {
                      "id": "101",
                      "text": "Initially selected",
                      "state": {
                          "selected": true
                      }
                  },
                  {
                      "id": "20",
                      "text": "Custom Icon"
                  },
                  {
                      "id": "30",
                      "text": "Initially open",
                      "state": {
                          "opened": true
                      },
                      "children": [
                          {
                              "id": "301",
                              "text": "Another node"
                          }
                      ]
                  },
                  {
                      "id": "40",
                      "text": "Another Custom Icon"
                  },
                  {
                      "id": "50",
                      "text": "Disabled Node",
      "state": {
                          "disabled": true
                      }
                  },
                  {
                      "id": "60",
                      "text": "Sub Nodes",
                      "children": [
                          {
                              "id": "601",
                              "text": "Item 1"
                          },
                          {
                              "id": "602",
                              "text": "Item 2"
                          },
                          {
                              "id": "603",
                              "text": "Item 3"
                          },
                          {
                              "id": "604",
                              "text": "Item 4"
                          },
                          {
                              "id": "605",
                              "text": "Item 5"
                          }
                      ]
                  }
              ]
          }
      ]},
                      "types" : {
                          "default" : {
                              "icon" : "fa fa-folder icon-state-warning icon-lg"
                          },
                          "file" : {
                              "icon" : "fa fa-file icon-state-warning icon-lg"
                          }
                      },
                      "plugins" : [ "checkbox", "state", "types" ]
                  });
  
  
      $("#tree").on("changed.jstree", function (e, data) {
       for(var i=0;i&lt;data.checked.length;i++) {
       document.getElementById("Content").value +=data.instance.get_node(data.checked[i]).text+",";
       }
       })
  
  &lt;/script&gt;
  &lt;body&gt;
  &lt;div id="tree"&gt;
  &lt;/div&gt;
  &lt;textarea id="Content" name="Content" rows="10"&gt;&lt;/textarea&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><a href="https://drive.google.com/file/d/0B4PAmUA35G8FTEtvakdPazlPdGs/view?pli=1" rel="nofollow">https://drive.google.com/file/d/0B4PAmUA35G8FTEtvakdPazlPdGs/view?pli=1</a></p>
  
  <p>I checked four node in this tree, I want to display on textarea. </p>
  
  <p>"Parent Node, Intially selected, Custom Icon, Initially open, Another node"</p>
  
  <p>How to get all checked node text?</p>