标签: javascript smarty var
我如何从smarty中读取javascript变量?像这样
<script> var number =10; </script> {if 'javascript variable (number)' == 10} do something.... {/if}
谢谢!