Variable pass from ATG JSP to Javascript

Store value in variable “varname”, from param:

<dsp:getvalueof param=”element.name” var=”varname” />

Use this variable in Javascript with that variable:

<script type=”text/javascript”>
jsfunction(“${varname}”);
</script>