loop through all components on page
Posted: Wed Sep 04, 2013 12:06 pm
Dear All,
can you pls point me on how to loop through all objects (components) on a page?
TIA!
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Dear All,
can you pls point me on how to loop through all objects (components) on a page?
TIA!
Hello!
Try next code:
pre$("[name=mobilecontainer1] >").each( function(e){
if (typeof e === "object") {
console.log(e);
})/prewhere:
"mobilecontainer1" - name of Mobile Container from your page
"console.log(e);" - just example. Any JS for elements processing.
awesome!