Hello,

Is it possible to access a JavaScript variable and use its value as an attribute for a custom tag? For example:

<script>
var test = "test"

<mytag:test attr="WANT TO USE VALUE OF test HERE" />
</script>

Thanks in advance!