Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

$.parent.index javascript equivalent

Avatar

Former Community Member
Hello,



What is equivalent to $.parent.index in javascript ?



I use a script that needs to get the current index of a grid to value one of it's field.



Thanks a lot.
1 Reply

Avatar

Former Community Member
Steph, try this.parent.index in place of the $.