i have initialize jQuery EasyUI's tree and click on nodes it didn't alert to me. here is my html code
<body>
<ul id="tt" class="easyui-tree"
url="tree_data.json"
checkbox="true">
</ul>
</body>
and my javascript is here
<head>
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css">
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
<script>
$('#tt').tree({
onClick: function(node){
alert(node.text); // alert node text property when clicked
}
});
</script>
</head>
I saw example and demos on jquery.com that was just like this. Why it's didn't work?