Hi all, I wrote a bit of JS and put it in the addOnLoad part, for multiple blocks. It works beautifully. However, I noticed that as soon as I have a Randomizer in my Survey Flow, with say 9 blocks, the onLoad JS only works for the first block. Since it's randomised, it's clear that it doesn't have anything to do with the block: every time I run it, it (obviously) presents the blocks in random order, and whatever block is presented first, the onLoad JS works, but for the subsequent blocks it doesn't. The JS is identical across blocks. Having a simple `window.alert("hello world");` in onLoad does show, but not my code: ``` /* function to find element based on textContent */ function contains(selector, text) { var elements = document.querySelectorAll(selector); return Array.prototype.filter.call(elements, function(element){ return RegExp(text).test(element.textContent); }); } /* set "unableToRate" id to unable-to-rate button (also for CSS) */ contains('td', 'Unable to rate
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.