I have a repeating section that I am manipulating in various ways. One of the ways I am doing so is by deleting the last row b using the following Javascript:
NWF$('.rsdata .nf-repeater-row:last').find('.nf-repeater-deleterow-image').click();
(The CSS of the repeating section is "rsdata".)
I am also trying to delete the first row of the repeating section. I've tried to change "last" for "first" but that has not worked. Also, I am trying to delete a row in the middle (not the first or last). Is there a way to delete it using a sort of "indexing" method? Any help is appreciated!
Thank you,
Owen