jQuery expand unique sub meu
<p>My project has some li elements which their class name is same (.expanded)</p>

<p>my goal is when user hit tab key ,then the hidden sub menu under li.expaned show up.</p>

<p>now the problem is when I hit tab key, all the sub menus show up.How to show it one by one?</p>

<pre><code>$(document).ready(function () {
    $('.expanded').keyup(function (e) {
        $('.expanded').each(function () {
            console.log('keyup called');
            var code = e.keyCode || e.which;

            if (code == '9') {
                //jQuery(this).children('.side_menu_sub li ul').css("display", "block");
                $(this).children('.side_menu_sub li ul').css("display", "block");
            }
        });
    });
});
</code></pre>
