Jighead
10/10/2018 - 3:24 PM

get value of href inside a clicked element

get the value of an href that's inside of the element clicked on.. ie a button or outer div.

var href = $(this).find('a').attr('href');