读书人

文本框有关问题

发布时间: 2012-02-19 19:43:37 作者: rapoo

文本框问题
刚打开网页的时候要把默认值设为00:00:00 (在文本框中显示00:00:00)
当我输入时间 如:10:10:10 点击查询后 要显示10:10:10 、
怎么做 ??

[解决办法]
<input name= "txt " type= "text " id= "txt " value= "00:00:00 " onfocus= "javascript:;document.form1.txt.value= ' ' "/>

[解决办法]
<input name= "txt " type= "text " id= "txt " value= " <%if Request( "txt ") <> " " then Response.Write Request( "txt ") else "00:00:00 " end if%> " />
[解决办法]
<input name= "txt " type= "text " id= "txt " value= " <%if Request( "txt ") <> " " then Response.Write Request( "txt ") else Response.Write "00:00:00 " end if%> " />

读书人网 >ASP

热点推荐