Closed Ikhan closed 7 years ago
<script> $(function(){ if(variable == 'something'){ {%set n = variable %} } }); </script>
here you have one blank space missing, try with the blank space
<script> $(function(){ if(variable == 'something'){ {% set n = variable %} } }); </script>
Hi I'm having passing js value inside the swig variable. Is there any way of doing it. Thanks.
Currently I'm doing like this
Thanks.