Hi,
I'm trying to find the index of a click element this doesn't work (specifically the eq part, rest is fine) this.children("a").click(function() { var eq = $(this).eq(); console.log(eq);$(this).parents(".thumbnails").children(".current").animate({left: ""+eq*currentSlide+"px"},opts.fadeOut); return false;
}); how would I find the index, as this is returning nothing. - Liam