View Single Post
  #3  
Old 02-07-2020, 11:26 AM
 
simetria simetria is offline
 

Advanced Member
  
Join Date: Jul 2013
Posts: 77
 

Default Re: Having trouble modifying a smarty variable inside javascript

Steve,

Is that strictly within javascript, or in general for smarty?

because if I do this:
Code:
{assign var= "testB" value= 'hello'}

and then immediately do this
Code:
{$testB = 'hello2'}
my output will be "hello2".
__________________
Thanks.
Reply With Quote