0

Smarty variables inside JS files [closed]

asked 2017-03-01 05:23:24 +0800

grabbitmedia gravatar image grabbitmedia
1
http://www.grabbitmedia.c...

updated 2017-03-01 05:24:17 +0800

I understand using tpl files and variables inside such files.

Issue is how to manage variables also inside js file. If I add JS file like the following line:

How to add also variables inside JS file. Is there good example to do this?

<script> jQuery(document).ready(function() { MyfunctionJQuery.init(); } );

In this case it will not work like tpl file

// {/literal}{$variablesmng.myvariable1}{literal}, {/literal}{$variablesmng.myvariable2}{literal}),
delete flag offensive retag edit

The question has been closed for the following reason "question is off-topic or not relevant" by cor3000
close date 2017-03-02 08:42:47

Comments

this is the ZK forum, I am not sure how your question relates to ZK, can you please clarify or close the post

cor3000 ( 2017-03-02 08:36:23 +0800 )edit

Question tools

Follow
2 followers

RSS

Stats

Asked: 2017-03-01 05:23:24 +0800

Seen: 27 times

Last updated: Mar 01 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More