Home › Forums › JavaScript › Parent menu trigger button › Reply To: Parent menu trigger button
October 19, 2018 at 5:33 am
#277860
Participant
Hi,
You can try this:
$("ul#primary-menu > li.menu-item-has-children").on("click", function(e) {
return false;
}).dblclick(function(e) {
var win = window.open($(this).children().attr('href'), '_blank');
win.focus();
return false;
});