how to add php var into js which is also in php code example
Example: javascript php variable
<script type="text/javascript">
var php_var = "<?php echo $php_var; ?>";
</script>
<script type="text/javascript">
var php_var = "<?php echo $php_var; ?>";
</script>