If I create a custom variable is there anyway to assign a value to that variable within javascript or the html code of the page? Thanks

<actinic:block php="true"> $myvar = <actinic:variable name="MyVariable" encoding="perl" selectable="false" />; // MyVariable contains a number e.g. 100 </actinic:block>
<actinic:block php="true"> $myvar += 1; // Increment it. echo $myvar; </actinic:block>
Comment