Using dynamic perch content within a script - issue with timing / page render
We have a fund raising ticker on a page, and we want to make a few values editable via Perch. These values sit inside a script tag in a variable array. We have tried $(document).ready and a few other approaches, but each time the perch content seems to be rendering after the JS so the ticker doesn't work/show. Hardcoding the ticker values works fine.
Any advice on best approach here?