I am trying to get the html value of a linked clicked. The links are created dynamically with Ajax so I don\'t think .bind will work and I don\'t have latest version with
Apply your handler to just the links, in the callback of the AJAX load.
$('div#message').load( myUrl, function() { $('div#message a').click(function() { var valueSelected = $(this).html(); alert(valueSelected); return false; }); });