I've just started using EasyUI and am working with the tree object. I can get the tree to render correctly several ways bu NEVER get a simple click event to do anything.
<head>
<script type="text/javascript">
$(function(){
$('#cat').tree({
lines:true,
animate:true,
onClick:function(node){
alert("Test Worked.");
}
})
})
</script>
</head>
And the HTML part:
<ul id="cat" class="easyui-tree" data-options="url:'CatFill.php'"></ul>
There must be something really simple I'm missing please help.