Hi,
I am very new to Javascript. I have a jsree tree and based which none is clicked, I would like to load some images to a data frame.
Can somebody help get started?
- <html>
<head>
<title>test</title>
<script type="text/javascript" src="/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/jquery.jstree.js"></script>
<Script type="text/javascript">
$(document).ready(function(){
//$(document).ready(function() { alert($.jstree._themes); });
//alert($().jquery);
$("#demo").jstree({
- "xml_data" : {
- "ajax" : {
- "url" : "./test1.xml"
- },
- "xsl" : "nest"
- },
- "plugins" : ["themes", "xml_data"]
- });
}); -
</Script>
</script> - </head>
<body>
<div id='demo'></div>
</body>
</html>
thanks in advance