Hi folks, i m trying to make a simple nested menu. my problem is when i click on child li's the parent as well as whole menu toggle to hide. i added a class too but its not helping.
Code HTML4Strict:
<script>
        $("ul.xoxo>li").slideToggle("slow")
</script>
 
<body>
<ul class="topnav">
    <li>Home</li>
    <li>About
        <ul class="xoxo">
            <li>Folio</li>
            <li>Fotography</li>
    </li>
        </ul>
     <li>Contact me</li>
</ul>
</body>