I have a simple span like so
Remove
This span is within a table, each row has a remo
The following code will get you the ID of the clicked span. Using the ID isn't perfect, but it will work.
span
$(".removeAction").click(function() { alert($(this).attr("id")); });