croxton / Stash

Stash allows you to stash text and snippets of code for reuse throughout your templates.
GNU General Public License v3.0
197 stars 20 forks source link

pass javascript value to Stash variable #182

Open fenster12 opened 11 months ago

fenster12 commented 11 months ago

I am wanting to pass a JS value to a Stash variable but the following didn't work. Is this possble?

{exp:stash:set name="foo" id="demo"}{/exp:stash:set}

{exp:stash:get name="foo"}