Hello, can anyone suggest how to tie select2 to smarty?
The template looks like this
{if $V. other_val} {/if} {if $V. depending.no>=3}
Don't really know where and what to insert to values did not appear by the hundreds in the list and highlighting as in the search when you start typing the first letter. Or all taki it not to do it?
I tried chosen
$(".chzn-select").chosen();
But, 1 - stop working all js so I put the script in {literal} in the middle of the page, because the body tag in another file where this script is not needed, it is needed only in a single file.
2. It does not work for some reason in this case, in a normal html page the same script works
May be someone faced and understand what was happening