how can we use jqTree jquery plugin

211 Views Asked by At

i'm using jqTree plugin. but in console.log it has an error that says:"$(.....).tree " is not a function. but in the link http://www.jqueryscript.net/layout/jQuery-Plugin-for-Tree-Widget-jqTree.html it says just tree function like below.

$('#tree').tree({
  data:data,
  autoOpen:true
  });

what wrong with it?

1

There are 1 best solutions below

2
On

You sure you included jqTree in the page?