I would like to know how to select a specific element by the position of the index, as I can move through the structure with the next and prev functions, but I'm not finding a way to select an element directly by its position. I'm using Jquery
function proximo()
{
if($(".elemento").next().size())
{
$(".elemento").fadeOut().removeClass("elemento").next().
fadeIn(1000).addClass("elemento");
var texto = $(".elemento").attr("alt");
$("#slide p").hide().html(texto).delay(500).fadeIn();
}
}