+ Start a Discussion
Paras JainParas Jain 

how can i call plugin in lightning

<script>
$('#tree').checktree();
</script>
 
Piyush Kumar 58Piyush Kumar 58
Hello Paras,
#tree is the id of div I am right?
component is like this
<aura:component >
<div aura:id="tree">
       Now i am in div....
    </div>
</aura:component>
Js:-
FindDivID : function(component, event, helper) {
        var GetId = component.find("tree");
 
    },