Please tell me how can I hide ul
child element inside each li
, by clicking li
link.
I mean if someone clicks Alink
, A1
and A2
hides.
This is my HTML code :
[Code missing]
And here is the jQuery code, but it doesn't work :(
$(document).ready(function() {
$("#ListGrayCircle li").click(function() {
$(this).find('ul').hide();
});
});