zoukankan
html css js c++ java
页面默认值显示
function focusInputEle(o) {
if (o.value == getAttributeValue(o, 'defaultVal')) {
o.value = ''; o.style.color = "#000000";
}
}
function blurInputEle(o) {
if (o.value == '') {
o.value = getAttributeValue(o, 'defaultVal');
o.style.color = "#999999";
}
}
function getAttributeValue(o, key) {
if (!o.attributes)
return null;
var attr = o.attributes;
for ( var i = 0; i < attr.length; i++) {
if (key.toLowerCase() == attr[i].name.toLowerCase())
return attr[i].value;
}
return null;
}
证件编号:
如果文章对你有所帮助,希望施舍点包子钱,在下支付宝账号:
非常感谢
13718045310
查看全文
相关阅读:
python3--shelve 模块
python3--常用模块
python3 时间复杂度
Python3 正则表达式
python--冒泡排序
python3--正则表达式
python3--算法基础:二维数组转90度
python3--算法基础:二分查找/折半查找
python3--递归
dedecms单独调用指定文章
原文地址:https://www.cnblogs.com/love-you-girl/p/4019545.html
最新文章
Centos 6.5 rsync+inotify 两台服务器文件实时同步
linux mysql自动备份 和 数据恢复
shell脚本,防止sshd被暴力破解
mysqlbinlog 导出日志
Centos 6.5编译安装yum
wget: unable to resolve host address 解决办法
mysql强更改root密码
mysql 主从 重新同步
mysql主从复制问题之主从两端binlog日志不同步解决方案
Hibernate day04笔记
热门文章
Hibernate day03笔记
Hibernate day02笔记
Hibernate day01笔记
二十六:Struts2 和 spring整合
二十五、防止表单重复提交
二十四、Struts2中的UI标签
二十三、常用的标签:见源码
二十二、OGNL的一些其他操作
二十一、contextMap中放的常用数据
python3--产生偏移和元素:enumerate
Copyright © 2011-2022 走看看