i have menu in side location and that code is :
<ul>
<li>
<span class="arz">
first menu
</span>
<ul id="arz">
<li>
first submenu
</li>
<li>
second submenu
</li>
<li>
third submenu
</li>
</ul>
</li>
<li class="words">
two menu
<ul id="words">
<li>
first submenu
</li>
<li>
second submenu
</li>
</ul>
</li>
code code
$(document).ready(function(){
$(".submenu").click(function(){
$(this).children(this).slideToggle("slow");
});
});
but i want by clicking on first menu ul
element with id="arz" using
slideToggle,
slideToggle`.
by thanks
this code do it but when i click on every submenu item corresponding ul use
aya