View Single Post
  #11  
Old 02-07-2020, 01:07 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,039
 

Default Re: Having trouble modifying a smarty variable inside javascript

So you can use smarty function assign value then check on it with samrt to load one template or another
And the smarty function is just regular php file so there will be no problems like this.
The less js code the better
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote