matheusmurta
10/8/2019 - 6:12 PM

jQuery click on a inside of element and get it's attribute

jQuery click on a inside of element and get it's attribute

$(document).on("click", "#nativeLang > ul > li > a", function( event ){
   $('#Result').html( $(this).attr("id") );
});