时间戳有关问题
时间戳问题
<input type="button" onclick="location.href='search.asp?time=new Date()';" value=" 重 置 " />
上句new Date()为什么无效呢,TKS
------解决方案--------------------
<input type="button" onclick="location.href='search.asp?time=' + new Date();" value=" 重 置 " />
<input type="button" onclick="location.href='search.asp?time=new Date()';" value=" 重 置 " />
上句new Date()为什么无效呢,TKS
------解决方案--------------------
<input type="button" onclick="location.href='search.asp?time=' + new Date();" value=" 重 置 " />