<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>鼠标点击文本框 提示文字消失</title>
</head>

<body>
<input onblur="this.style.color='#999';if(this.value=='') this.value='请填写信息!';"
onkeyup="if(event.keyCode==13){doSearch();}" onfocus="this.style.color='#000';if(this.value=='请填写信息!') this.value='';" value="请填写信息!" maxLength=60 size=12 name="keyword" id="search_keyword" style="width:200px;height:30px;color:#999">
</body>
</html>

 

相关文章:

  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2022-12-23
  • 2021-07-21
  • 2022-12-23
  • 2021-12-04
猜你喜欢
  • 2022-01-27
  • 2021-11-29
  • 2022-12-23
  • 2021-05-26
  • 2021-11-23
  • 2022-12-23
相关资源
相似解决方案