首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > ASP >

文本框有关问题

2012-02-19 
文本框问题刚打开网页的时候要把默认值设为00:00:00(在文本框中显示00:00:00)当我输入时间如:10:10:10点击

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

热点排行