会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
标题
这里是简介,但我好像没什么要说的!~
博客园
首页
新随笔
联系
订阅
管理
2022年7月4日
JQuery input聚焦清空值,失焦赋值
摘要: $("input[type*=text]").each(function(){ var oldValue=$(this).val(); $(this).focus(function(){ if($(this).val()==oldValue){ $(this).val(''); } }) .blur
阅读全文
posted @ 2022-07-04 01:03 悬剑丶
阅读(187)
评论(0)
推荐(0)
编辑
公告
/*嚯嚯嚯 Surprised*/ /*都是网上收集的开源资源,免费使用*/ /*Mysterious power from the East*/ /*🐀🐂🐅🐇🐉🐍🐎🐏🐒🐓🐕🐖*/ /*时钟*/
/*仓鼠,点击投食*/