Jquery: this == event.target

function(event) {
event.target.hide();
}

can replace 'event.target' with 'this' (i.e. what you clicked on)

Comments

Popular posts from this blog

Code Wars: Data Reverse (6 kyu)

Code Wars: longest_palindrome (6 kyu)

Code Wars: Find the odd int