Jighead
7/7/2018 - 1:01 PM

get text of href

Get the text value of a clicked href.

  $('ul.dl-menu a').on('click',function(e){
    var link =  $(this).text();
    var classes =  $('#mega-menu__color').attr("class");
  });