Pass variables to javacript

I'm creating a javascript function and I want to pass, as arguments, some Lectora variable values to it. I've built the string like this (into a custom variable called 'str'):javascript:myFunc(VAR(CurrentSectionName),VAR(PagesInSection),VAR(PageInSection))but when I call it from Lectora with VAR(str) I get javascript errors. In the index.htm page that is created the offending bit of code looks like this:function action88(fn){ Vartmp.set(myFunc(); if(fn) eval(fn);}How do I pass Lectora variables as arguments for a javascript function?Andrew Poulos

Discussions have been disabled for this post