求助,代码如下,模板文件Login.tpl中,
<script>
function create_code(){
document.getElementByIdx_x("code").src = 'create_code.php?'+Math.random()*10000;
}
</script>一直报错:“Fatal error: Smarty error: [in Login.tpl line 93]: syntax error: unrecognized tag: document.getElementByIdx_x("code").src = 'create_code.php?'+Math.random()*10000; (Smarty_Compiler.class.php, line 446) in I:\masterPHP\vtigercrm\Smarty\libs\Smarty.class.php on line 1095
”
求各位大神指导!!!
<script>
function create_code(){
document.getElementByIdx_x("code").src = 'create_code.php?'+Math.random()*10000;
}
</script>一直报错:“Fatal error: Smarty error: [in Login.tpl line 93]: syntax error: unrecognized tag: document.getElementByIdx_x("code").src = 'create_code.php?'+Math.random()*10000; (Smarty_Compiler.class.php, line 446) in I:\masterPHP\vtigercrm\Smarty\libs\Smarty.class.php on line 1095
”
求各位大神指导!!!
解决方案 »
- Cannot modify header information headr函数问题,代码很简单
- linux下C应用程序调用webservice接口
- apache 配置图片路径
- 一个关于&&简单问题
- 求教一个rewrite规则!
- 能不能让 index.html 或index.asp让php认出!!
- 初学者的问题!!
- 不确定server是否支持PHP,能否进来看一下
- 关于表单提交的问题!
- win2000+IIS5+php4.22中如何避免在无某一页时显示“Warning: Failed opening 'E:\web\aaa.com\..”
- Wampserver 的启动问题
- php在服务器上创建文件权限的问题
例:
{literal}
<script>
function create_code(){
document.getElementByIdx_x("code").src = 'create_code.php?'+Math.random()*10000;
}
</script>
{/literal}
不知道你的 有没有