I have some basic JavaScript function:
<script type="text/javascript">
function someTestFunction(param1, param2) {
//do something
}
</script>
and Freemarker code:
<#if something==somethingElse>
// call: someTestFunction(something, 123)
<#else>
// call: someTestFunction(somethingElse, 345)
</#if>
my question is: Is it possible, and if so, how to call someTestFunction() from inside freemarker tags?