zoukankan
html css js c++ java
Jqonfocus,onblur
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Document</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <style> .b{border:1px solid #fc0;background:#FFFFF7;} input,textarea{border:1px solid #92B0DD;background:#FAFCFD;} label{float:left;90px;padding-right:5px;text-align:right;overflow:hidden;} </style> <script> // 连锁店显示 $(function(){ $('input[type="text"],input[type="password"], textarea').focus(function(){ $(this).addClass('b'); }).blur(function(){ $(this).removeClass('b'); }); }); </script> </head> <body> <label for="username">name: </label><input type="text" name="" id="username" /><br /> <label for="password">password: </label><input type="password" name="" id="password" /><br /> <label for="textarea">textarea:</label> <textarea name="" id="textarea" cols="30" rows="10">
运行代码
查看全文
相关阅读:
Flink资料(5) -- Job和调度
Flink资料(4) -- 类型抽取和序列化
Flink资料(3)-- Flink一般架构和处理模型
Flink资料(2)-- 数据流容错机制
Flink资料(1)-- Flink基础概念(Basic Concept)
联系InfoSphere Streams和OpenMI时对水利模型联系的设计模式的一些考虑
[Azure][CLI][02]Basic OPS
[Azure][PowerShell][ARM][01]Connect
[Azure][PowerShell][ASM][13]Reset Password
[Azure][PowerShell][ASM][12]ACL
原文地址:https://www.cnblogs.com/jikey/p/1737108.html
最新文章
nexus-2.14.2-01-bundle构建maven私服
搭建第一个spring boot项目
用一张表里的记录更新自己(或另一张表)里的记录(exists使用)
eclipse配置tomcat后启动报内存错误解决方法
oracle数据库语句积累
tomcat项目绑定到域名及运行内存配置
双网卡+mitmproxy+iptables搭建SSL中间人(支持非HTTPS协议)
Xpose菜鸟笔记
Lua编写wireshark插件初探——解析Websocket上的MQTT协议
Kali Linux安装TL-WN821N USB无线网卡驱动(make失败)
热门文章
如何识别IDA反汇编中动态链接库中的函数
VirtualBox
使用mitmproxy嗅探双向认证ssl链接——嗅探AWS IoT SDK的mqtts
物联网通信架构总结
【转载】wifi一键配网smartconfig原理及应用
HTTP严格安全传输(HTTP Strict Transport Security, HSTS)chromuim实现源码分析(二)
Flink Program Guide (1) -- 基本API概念(Basic API Concepts -- For Java)
Flink资料(8) -- Flink代码贡献的指导及准则
Flink资料(7) -- 背压监控
Flink资料(6) -- 如何添加一个新的Operator
Copyright © 2011-2022 走看看