targeting parents
targeting parents
you can use THIS if you want to target the object which the event was focused on
ie
$("#cat").click(function(){
$(this).fadeOut(1000);
]);
is the same as
$("#cat").click(function(){
$("#cat").fadeOut(1000);
]);
is there a equivilant way to target the perent node of #cat?
Topic Participants
samcoppock
jakecigar