Preview Javascript Example

<vce-preview-javascript
  content="<h2 id='headingId'>TITLE COLOR CHANGED TO GREEN</h2>
<p>
Some additional text that is not changed by javascript
</p>
<script>
document.getElementById('headingId').style.color='green';
</script>"
>
</vce-preview-javascript>