javascript搜索框点击文字消失失焦时文本出现_javascript技巧
来源:动视网
责编:小采
时间:2020-11-27 21:27:14
javascript搜索框点击文字消失失焦时文本出现_javascript技巧
javascript搜索框点击文字消失失焦时文本出现_javascript技巧:当获焦时,文本消失,失焦时文本出现 无标题文档 var oText=document.getElementById(text); var onoff=true; oText.color=#000; oText.onfocus=function(){ if(onoff){ this.value=; this.
导读javascript搜索框点击文字消失失焦时文本出现_javascript技巧:当获焦时,文本消失,失焦时文本出现 无标题文档 var oText=document.getElementById(text); var onoff=true; oText.color=#000; oText.onfocus=function(){ if(onoff){ this.value=; this.

当获焦时,文本消失,失焦时文本出现
javascript搜索框点击文字消失失焦时文本出现_javascript技巧
javascript搜索框点击文字消失失焦时文本出现_javascript技巧:当获焦时,文本消失,失焦时文本出现 无标题文档 var oText=document.getElementById(text); var onoff=true; oText.color=#000; oText.onfocus=function(){ if(onoff){ this.value=; this.