I have a simple span like so
Remove
This span is within a table, each row has a remo
$(this) within your click function represents the clicked element
$(".removeAction").click(function() { //AJAX here that needs to know the ID alert($(this).attr('id')); }