Targeting elements except $(this).children(element)
Hello, guys.
As you can see, I ve used to methods to achieve proper funcionality of the menu.
The problem is whenever you click Cart position, it doesn't show up.
Seems like it is not targeted correctly, so all elements of this kind are "hide()" but no this particular one, which i would like to set as an exception.
In case of clicking Account or Help, the toggle() doesn't work.
My goal is to acheive toggling the child of the clicked element and hidding all other elements of this kind, except this particular one, certainly.
Could you please assist me?