You can use jQuery :eq() -selector , but itβs easier (and probably faster because of your own selectors) to select all of them and you need to select them later:
var elements = $('.formStyle'); elements.eq(0) // first elements.eq(2) // third
source share