< div class= "content" >
<ul>
<li><a></a>
<ul>
<li><a href="-sharp"></a></li>
<li><a href="-sharp"></a></li>
</ul>
</li>
</ul>
< / div >
want to hide all orders and outstanding orders at the beginning of the page, then click on the order, expand all orders and outstanding orders below, and open the default secondary menu (all orders).
$(function () {
$(".content li").click(
function() {
$(this).find("ul").show();
},function(){
$(this).find("ul").hide();
},
);
});