DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
add variable to nth child jquery
var position = 5; $("#daddy > div:nth-child(" + position + ")").animate({ opacity: 0.01, }, 500);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#add
#variable
#nth
#child
#jquery
ADD COMMENT
Topic
COMMENT
Name
6+1 =
Submit