zoukankan
html css js c++ java
input点击后placeholder中的提示消息消失,而不是输入文字的时候消失
在input属性里面加入一段代码就行
onfocus="this.placeholder=''" onblur="this.placeholder='请输入您想搜索的内容......'"
查看全文
相关阅读:
事件对象
type of 操作符和instanceof操作符的区别以及使用方法
JS:XML
JS:事件处理程序
JS:event对象下的target属性和取消冒泡事件
JS:callee属性
JS:call()和apply的区别
JS:事件对象1
DOM元素的大小和位置
CSS:在IE浏览器下,元素下沉一行的解决办法
原文地址:https://www.cnblogs.com/lovebear123/p/11381844.html
最新文章
asp.net core “'GBK' is not a supported encoding name.
实习日记 2019.9.16
实习日记 2019.9.12
Linux笔记 DNS服务
Linux笔记 文件共享服务之NFS
Linux笔记 文件共享服务之FTP
Linux笔记 rsync
Linux实验 ssh配置详解
Linux笔记 SSH服务
linux笔记 性能监测之相关命令(vmstat、top、free、iostat)
热门文章
Linux笔记 性能监测
tiny4412 --Uboot移植(5) DDR3内存
tiny4412 --Uboot移植(4) 串口
tiny4412 --Uboot移植(3) 时钟
tiny4412 --uboot移植(2) 点灯
tiny4412 --uboot移植(1)
linux 下安装arm-linux-gnueabi交叉编译器
uboot——git代码仓
SecureCRT问题
4412 uboot上手
Copyright © 2011-2022 走看看