Hi, I'm hoping to get some help with my Javascript code, though I don't know that it is broken. This works perfectly on page one of the Search Results, but on results with more than one page, when I go to the next page, none of the formatting or text generated by the script shows at all.
<script type="text/javascript">
var cb_boolean = '[@field:GroupIntergroup]';
if (cb_boolean == 'Group')
{document.write('<span style="color: green;">[@field:Meeting_Days]</span> [@field:City]');}
else
{document.write('<span style="color: #ff8c00;">Multiple Groups</span>');}
</script>
What am I doing wrong?