呵呵,程序应该没问题
try(smarty模板文件里区分js函数的‘大括号’与smarty默认‘界定符’):
=================================================
{literal}
<script>
..
...
..
</script>
{/literal}
try(smarty模板文件里区分js函数的‘大括号’与smarty默认‘界定符’):
=================================================
{literal}
<script>
..
...
..
</script>
{/literal}
$smarty->left_delimiter = "<{";
$smarty->right_delimiter = "}>";
应该不会有冲突吧
刚才测试,点击按钮可以准确的触发search_data()事件,也能捕捉到文本框的文字,display_result()也能用,只有那个php文件好像没反应,是不是这句有问题?
top.frames["hiddenFrame"].location="search_result.php?id="+sId;
---------------------------------------------------
定死高和宽了吧?width=500 height=500试试??