复制代码
代码如下:<input type="text" id="kword" name="kword" value="按项目名称搜索..." onfocus="if(this.value=='按项目名称搜索...')this.value='';" onblur="if(this.value=='')this.value='按项目名称搜索...';" class="SmallInput" style="color:#A0A0A0;width:145px;">
最后
以上就是超帅冥王星最近收集整理的关于设置搜索框的默认文字当鼠标单击时该默认文字消失的全部内容,更多相关设置搜索框内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复