For eq() you can use
$('.images').eq(variable)
nth-child doesn't have it's own function, but you only need to add the
variable to the selector string:
$('.images:nth-child('+variable+')')
- ricardo
On Nov 25, 11:29 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Basic Issue: Can you use a
Thank-you Ricardo, the syntax for adding the variable was exactly what I
needed.
ricardobeat wrote:
For eq() you can use
$('.images').eq(variable)
nth-child doesn't have it's own function, but you only need to add the
variable to the selector string:
2 matches
Mail list logo