1The nth-of-type selector looks for element type, like div, span etc not for
2class name or any other selectors
3
4use :eq(index)
5 jQuery('.proejct-text-field:eq(0)')
6
7or .eq(index)
8 jQuery('.proejct-text-field').eq(0)
9
10If first element
11 jQuery('.proejct-text-field').first()
12
13else if last element
14 jQuery('.proejct-text-field').last()