I don’t feel right posting this in the tech support forums as it’s not really a core EE function… but rather something somewhat outside the box.
I have a javascript file that I would like to pass three EE variables to. I don’t care if the js file is linked to outside the system or even if it resides as a EE js template. What I don’t want to do is turn off javascript protection in the entire system for EE to parse the js template and pick up the variables.
Has anyone been able to use a javascript file or template with variables passed from the EE system without turning off js protection? And IF so… what approach did you use?
Thanks for any ideas on this one!