title: Get HREF value of clicked link loaded dynamically via Ajax in jQuery
body: <p>This one has been driving me nuts. I have a div that has it's content loaded via Ajax when the page loads. The contents of the div are several hyperlinks. I am trying to get the HREF value of the clicked link using <code>$(this).attr('href')</code>. However, this always returns "undefined". I am guessing, since the hyperlinks were dynamically loaded via Ajax, jQuery is unable to return the HREF value. I have checked the page source and confirmed that all hyperlinks carry valid HREF links.</p>
  
  <p>How can I retrieve the HREF values for hyperlinks dynamically loaded via Ajax?</p>