First of all, thank you for your answer. I tried all day yesterday to adjust my complex code so that it works as a return in my backend. But I did not manage to do it. I’m not that experienced with JS and Velo yet and just managed to create the filtering on my main page the way I want it, this new task is too much for me unfortunately.
so i’m currently trying it the way you said, copy the code to my lightbox 1 to 1. I have the following line in my filter function, where I pass the result to my HTML elment (which is on the main page):
$w("#html1").postMessage(JSON.stringify(filteredResults));
Can you maybe tell me what this line has to be so that I pass the result to my main page? Something like
$w("#lightboxName").$w("#html1").postMessage(JSON.stringify(filteredResults));
where I know that probably doesn’t work. but is there a simple command so I can modify the passing lines so I don’t have to do too much?