Is there a way I can get a list of all of the item IDs inside of a repeater without knowing the ID of the container in the repeater?
I have created a drop down search/select box that I want to use in lots of places on my site. I don’t want to go through the hassle of giving unique names to all of the elements every time I copy it. I have a Box that contains an input text element and a repeater. Inside the repeater I have a text box and a box. When I replicate this unit I want to be able to give the top level container a name, like #customerSearch. I can get a list of child elements IDs on this container with $w(‘#customerSearch’).children which returns the #repeater and the #input IDs. I can’t seem to get the ID for the container inside of the repeater as $w(‘#repeater’).children does not work. So, without knowing the name of the container in the repeater, how do I get a list of all of the items inside that container?
If I know the name of that container, I can just use $w(‘#someContainer’).children . I want to be able to just plunk these blocks down and not worry about having to name them.
Thanks!