JQuery
来源:互联网 发布:淘宝充值话费怎么投诉 编辑:程序博客网 时间:2024/06/05 19:51
jQuery is a new kind of JavaScript Library.
jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.
-------------------------------------------------------------------------
1.文本框的聚焦(focus): <script type="text/javascript" src="/script/jquery-1.3.2-vsdoc.js"></script> <link href="css/s.css" rel="Stylesheet" type="text/css" /> <script type="text/javascript"> $(document).ready(function() { debugger; $("input[@type=text][name=txt],input[@type=password][name=pwd],textarea[name=txta]").focus(function() { $(this).addClass("ie_focus"); }).blur(function() { $(this).removeClass("ie_focus"); }); }) </script> ------------------ s.css body { font: .9em/1.5 "Lucida Grande", "Trebuchet MS", "Bitstream Vera Sans", Verdana, Helvetica, sans-serif; } form { width: 20em; margin: 4em auto; } dt { clear: left; float: left; } dd { clear: right; margin-left: 6em; } input, textarea { width: 12em; border: 1px solid #ccc; } input:focus, textarea:focus { border: 1px solid #f00; background: #fcc; } .ie_hover { background: #ffc; } .ie_focus { border:1px solid #f00; background:#fcc; } -------------------------------------------------------------------------
- JQuery
- JQuery
- JQuery
- JQuery
- JQuery
- JQuery
- JQuery
- JQuery
- JQuery
- JQuery
- JQuery
- JQuery
- JQuery
- JQUERY
- jquery
- jQuery
- jquery
- jquery
- 关于 strlen 和 sizeof 、对齐 2010-01-14 16:35:58
- 最简单的带变量的存储过程
- 基于Asterisk的网络传真
- 工作量评估--专家评估法实际操作心得
- Silverlight OOB
- JQuery
- Eclipse快捷键大全(转载)
- GridView控件RowDataBound事件中获取列字段
- centos 5.Freeradius2.1 mysql 5.0成功安装配置笔记
- Windows XP 下安装ArcGIS 9.0时遇到的问题与解决方法
- Cocoa添加一个关于面板
- Apache Rewrite 拟静态配置
- 制作条码打印
- 《lie to me》中相关微表情学