javascript in content
javascript in content
is there any way to add javascript into the content (withouh external libraries)? each time i do so i get a smarty template error.
Re: javascript in content
This is an easy one.Anonymous wrote:is there any way to add javascript into the content (withouh external libraries)? each time i do so i get a smarty template error.
Wrap your javascript in {literal} tags.
Code: Select all
{literal}<__script__ language="javascript">print "hi";</__script>{/literal}