- 3/5
- 1
- 2
- 3
- 4
- 5
织梦DedeCMS视频教程买空间 租服务器 选网硕互联! 无忧站长工具,百度权重一键全查!
字段清除Script,您可以先修改部分代码再运行.
<script language="Javascript"> <!-- //This credit must stay intact //Script by Java-Scripts.net and http://wsabstract.com function doClear(theText) { if (theText.value == theText.defaultValue) { theText.value = "" } } //--> </script> <!--2)Add the following onFocus event into your form field, as follows--> <form> <input type="text" size=15 value="Enter name" onFocus="doClear(this)"> </form>