PHP新手百例系列教程、代码制作中……
 当前位置:首页 → 技术资料 → 详细内容        


ASP实战百例-文本框中自动生成日期的数字值
  添加时间:[ 2016-5-14 ]    浏览人气:[ 1384 ]    [ 评论本文 ]  [ 打印本文 ]

1.jpg

<input name="lximgadd" type="text" id="lximgadd" value="<%= year(now)&month(now)&day(now)&hour(now)&minute(now)&second(now) %>" size="60" />

 

以下是加后缀名代码

<input name="lximgadd" type="text" id="lximgadd" value="<%= year(now)&month(now)&day(now)&hour(now)&minute(now)&second(now)&".asp" %>" size="60" />