Answers for "add variable to nth child jquery"

0

add variable to nth child jquery

var position = 5;

$("#daddy > div:nth-child(" + position + ")").animate({
    opacity: 0.01,
}, 500);​
Posted by: Guest on April-21-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language