jquery get anchor id code example Example: How to get anchor tag value using tag id $("div#livesearch a"). on("click", function(){ $(this). text(); });