show a hidden ul if li is active

You can achieve this with a simple JQuery selector.

$($('.active').parent('ul').get(0)).css('display', 'none');

We are selecting the parent UL where we find the active class and hiding the element via css.

https://jsfiddle.net/0voxj6fp/

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)