I\'m using this code to display an alert on a certain element:
$(\"#resultsBox\").click(function (event) { console.log(\'a\'); });
$("#resultsBox").find('li').click(function (event) { alert($(this).text()); });