资料
表格
制度
合同
管理
职场
经营
创业
范文
总结
计划
作文
文章
美文
词句
教程
模板
图片
字体
图标
办公
人事
财务
生产
管理资源吧首页
>>>
教程
>>>
编程
>>>
JavaScript教程
>>>
jquery-1.2.6得到焦点与失去焦点的写法
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>jquery-1.2.6得到焦点与失去焦点的写法</title> <img src="/_New/_cj/myeditor/sysimage/space.gif" class="ewebeditor__script" _ewebeditor_fake_tag="script" _ewebeditor_fake_value="%3Cscript%20type%3D%22text%2Fjavascript%22%20src%3D%22http%3A%2F%2Fwww.sosuo8.com%2Fjscss%2Fjquery-1.2.6.js%22%3E%3C%2Fscript%3E"> <img src="/_New/_cj/myeditor/sysimage/space.gif" class="ewebeditor__script" _ewebeditor_fake_tag="script" _ewebeditor_fake_value="%3Cscript%20type%3D%22text%2Fjavascript%22%3E%20%0D%0A%24(function()%7B%20%0D%0A%20%20%20%20%24(%22input%3Atext%2Cinput%3Apassword%2Ctextarea%22).focus(function()%7B%24(this).css(%22background%22%2C%22%23CBFE9F%22)%3B%7D).blur(function()%7B%24(this).css(%22background%22%2C%22%23FFF%22)%3B%7D)%3B%20%0D%0A%7D)%3B%20%0D%0A%3C%2Fscript%3E"> </head> <body> <input type="text" /> <input type="password" /> <textarea></textarea> </body> </html>
[Ctrl+A 全选 注:
如需引入外部Js需刷新才能执行
]
教程首页
更多教程