skip to Main Content

jquery current parent and child selectors – Photoshop

I am having a slight trouble in selecting the correct current <ul> <li> selectors $('#menu > li').on('mouseover', function (e) { $(this).find("ul:first").show(); $(this).find('> a').addClass('active'); }).on('mouseout', function (e) { $(this).find("ul:first").hide(); $(this).find('> a').removeClass('active'); }); in the above code I can find the <ul…

VIEW QUESTION
Back To Top
Search