时间戳问题input typebutton onclicklocation.hrefsearch.asp?timenew 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=" 重 置 " />
