I'm wondering if it's possible to add a script tag to a custom popup in ArcGIS Online. It seems like I can add html tags but script tags just disappear.
As an example. If I configure a popup for a layer and choose 'custom attribute display', I can view the html source. If I add the code below, cof_div0 shows up fine but the script never runs to populate cof_div1.
<div id="cof_div0">This is div 0</div>
<script>document.getElementById("cof_div1").innerHTML = "Hello World"</script>