function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RishavRishav 

visualforce with JQTree plugins

Hi,
      I am trying to use jqTree with visualforce page for creating the tree list view. But i am not getting anything, i tested my jQuery it's working.
    Here is my code please tell me what mistakes  i doing
<apex:page standardStylesheets="false" showHeader="false">
  <apex:includeScript value="{!$Resource.jqTree}"/>
  <apex:includeScript value="{!$Resource.jquery}"/>
  <apex:includeScript value="{!$Resource.jqTreeCss}"/>
  <apex:includeScript value="{!$Resource.jqTreeData}"/>
    <script>
     $j = jQuery.noConflict();
     var data = [
    {
        label: 'node1',
        children: [
            { label: 'child1' },
            { label: 'child2' }
        ]
    },
    {
        label: 'node2',
        children: [
            { label: 'child3' }
        ]
    }
];
   $j(document).ready(function(){
  
  
  
     
   $j("[id$=tree1]").tree({
        data: data
    });
   });
  </script>
  
  <div id="tree1">
  hii
  </div>
</apex:page>
I tried with static JSON resources also but not working.
Can anyone tell me what mistakes i am doing here.

Thanks
Rishav