Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Parent menu trigger button Reply To: Parent menu trigger button

#277942
chris_2080
Participant

Hi @vulkanus

If I understood you correctly:

$(".sub-menu > .menu-item").one("click", function(e)     {
       e.preventDefault();
       alert($(this).children().attr('href'));
       return false;    
   });