tags:

views:

101

answers:

1

I have a bit of JS using JQuery

function removeTag() {
    $('{...}').doSomething();
}

$(document).ready(function() {
    $('.RemoveTag').click(removeTag);
});

Is there anything I can replace {...} with to give me the element that was clicked?

Kindness,

Dan

+5  A: 
function removeTag() {
    $(this).doSomething();
}
Ned Batchelder