i want to use qweb variables in script.
<t t-set="test_var" t-value="TEST_VAR_VALUE"/> <script type="text/javascript"> var result = <t t-esc="test_var"/>; document.getElementById("div_id").innerHTML = result; </script>
i tried above code but it doesn't work.