smarty 模版中,js修改了表单的值,如果直接在模版中用该表单值进行if语句判断?代码:
<script language="javascript">function handlerTao(tao,yitaocan,huafei){ $("#taocan").val(tao);$("#taocanid").val(huafei);}</script> <input type="text" name="taocanid" value="" id="taocanid">