日期:2014-05-17  浏览次数:21152 次

文本框问题
刚打开网页的时候要把默认值设为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%> " />