Hello,
I am willing to use the jquery treeview. I have categories and subcategories to choose for an item and I would like to display them in a treeview. I would like then to get the clicked value.
for the moment I am working on something of the kind of :
<ul id="treeview">
    <li>group1a
        <ul>
            <li>group11 </li>
        </ul>
    </li>
    <li>group2 </li>
    <li>group3 </li>
    <li>group4 </li>
    <li>group5 </li>
</ul>
and I tried this script, but the click function throw me an error.
<script type="text/javascript">
            $().ready(function () {
                $("#treeview").treeview();
            });
            $("#treeview").click(function (e) {
                e.target.addClass("selected");
            });
</script>
I am a very big beginner to this Jquery way of handling things, so I assume I am missing some important point somewhere... thanks for your help..