主题: |
html表单中显示文字,点击文字就没有了。可以输入其他文字 |
2017-9-6 17:08:23 |
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>无标题文档</title> <script> function disapear(){ document.getElementById("test").value=""; } </script> </head> <body> <input id="test" name="test" type="text" onclick="disapear();" value="点击消失"/> </body> </html>
|
|
主题: |
本站于今日正式启用新的留言本 |
2017-08-27 21:17:46 |
有任何问题请在本处留言 站长回复:nb |
|
总共:6页, 77条记事本信息, 当前页:6 首页 | 上一页 | |
|