ITeye博客

jQuery

共 17 篇文章

jQuery Media 插件

下载 文档:http://jquery.malsup.com/media/#options <object data="D:\download\phone.wav" type="application/x-mplayer2" width="0" height="0" loop=true> <param name="src" value="D:\download\phone.wav"> <param name="autostart" value="1"> <param name="playcount" value="infinite"> </object>

2010-12-22 02:39 · jQuery · jQuery · jQuery.media

window对象

DOM Window: http://swip.codylindley.com/DOMWindowDemo.html jquery-swip http://jquery-swip.googlecode.com/svn/trunk/

2010-10-09 13:51 · jQuery · HTML · jQuery · SVN

无刷新登陆

无刷新登陆PHP验证: <script scr="http://code.jquery.com/jquery.js" type="text/javascript"></script> //导入jquery框架文件 <script type="text/javascript"> $(document).ready(function(){//函数入口 $("#btn_login").click(function(){ login();//点击ID为"btn_login"的按钮后触发函数login(); }); }); function login(){ var username = $("#us…

2010-09-24 12:28 · jQuery · Ajax · PHP · json · jQuery · JavaScript

jQuery新添加元素到页面,不能邦定事件的解决办法:

方法1:页面生成时DOM树已经确定,新添加到页面的元素不会被jQuery事件绑定到,或者说是监听到,这时要对所调用的事件重新击活一下就要用到 livequery插件 导入js文件: <script src='http://code.jquery.com/jquery.js'></script> <script src='jquery.livequery.js'></script> var boo = true; //判断点击的button是否为第一个; $(".insertr").click( function () { $("input[type='button']:last").afte…

2010-07-16 16:24 · jQuery · jQuery

Validation 表单验证 插件 jQuery 验证 数字 日期 (一)

Validation 表单验证 插件 jQuery 验证 数字 日期 (一) Validation 表单验证 插件 jQuery 验证 数字 日期 (二)

2010-06-20 13:59 · jQuery · jQuery

PHP-JQuery-Ajax-json

1. 全国省市区三级联动下拉列表 2. PHP中__autoload()函数的使用 3. PHP常用类库整理 4. PHP发送Email phpmailer中文使用说明 phpmailer5.rar class.pop3.php class.smtp.php 5. PHP cURL详细使用手册 抓取网页 6. PHP+MySql乱码解决 7. JQuery1.4官方文档翻译 博客已移至 http://blog.aboutc.net/ 欢迎访问

2010-06-14 13:58 · jQuery · Ajax · PHP · json · MySQL · jQuery

JQuery表的操作

二、操作 1.鼠标移动行变色 [code="javascript"]$("#table1 tr").hover(function(){ $(this).children("td").addClass("hover") },function(){ $(this).children("td").removeClass("hover") }) $("#table2 tr:gt(0)").hover(function() { $(this).children("td").addClass("hover"); }, function() { $(this).children("td").removeC…

2010-05-27 17:51 · jQuery · HTML · CSS · jQuery · JavaScript

JQuery合并表格

// td.attr("rowSpan", 3); // td.remove(); jQuery(document).ready(function() { var j = 0; jQuery("table tr").each(function() { j++; var td = jQuery(this).find("td:eq(2)"); //从第几列开始 if(j == 3){ //当循环到第几行时 td.attr("rowSpan", 3); } }); var j = 0; jQuery("table tr").each(function() { j++; var td = jQuer…

2010-05-27 17:24 · jQuery · J# · jQuery · JavaScript

JQuery动态编辑的表格数据

点击下载JQuery-1.4.2.js <html> <head> <title>JQuery动态编辑的表格DATA</title> <!--<meta charset="utf-8">--> <link rel="stylesheet" type="text/css" href="editTable.css"> <script type="text/javascript" src="jquery-1.4.2.js"></script> <script src = "editTable.js"></script> </head> <body> <table> <thead> <tr> <th…

2010-05-27 16:50 · jQuery · HTML · CSS · jQuery · JavaScript

jQuery中this与$(this)的区别

jQuery中this与$(this)的区别 $("#textbox").hover( function() { this.title = "Test"; }, fucntion() { this.title = "OK"; } ); 这里的this其实是一个Html 元素(textbox),textbox有text属性,所以这样写是完全没有什么问题的。 但是如果将 this换成$(this)就不是那回事了,Error--报了。this与$(this)的区别在此。 $("#textbox").hover( function() { $(this).title = "Test"; }, fun…

2010-05-27 15:23 · jQuery · HTML · 浏览器 · jQuery · JavaScript · Web

JQuery小实例/文档下载

1. 改进的提示插件-jQuery.hiAlerts.1.0 : 点击查看在线演示 Demo下载地址 -- 或在附件中下载。 简版Demo下载地址 2. jQuery实现的动画隐藏下拉登陆框 点击查看在线演示 Demo下载地址 -- 或在附件中下载。 3. JQuery排序分页 Demo下载地址 4. JQuery学习文档 5. jQueryAPI-100214.chm 6. 表格添加和删除 7. jQuery Ajax Json 实例演示 8.ThickBox调用方法和实例演示 点击查看在线演示 Demo下载地址 -- 或在附件中下载 博客已移至 http://blog.aboutc.ne…

2010-05-26 11:50 · jQuery · Ajax · json · jQuery

有关JQuery的网页地址

1. 使用jQuery简化Ajax开发 --看看Ajax和DOM脚本编程究竟有多简单: 2. JQuery使用手册之DOM

2010-05-26 11:31 · jQuery · Ajax · jQuery · 编程 · 脚本

jquery.validate 使用详解

一、准备工作 需要JQuery版本:1.2.6+, 兼容 1.3.2 官网地址: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ 最新版本:1.7 点击下载jquery.validate.js 二、默认校验规则 (1)required:true 必输字段 (2)remote:"check.php" 使用ajax方法调用check.php验证输入值 (3)email:true 必须输入正确格式的电子邮件 (4)url:true 必须输入正确格式的网址 (5)date:true 必须输入正确格式的日期 (6)dateI…

2010-05-25 11:06 · jQuery · CSS · Ajax · PHP · jQuery · JavaScript

jquery 消息插件--仿QQ消息弹出提醒

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>MESSAGER插件</title> <script src="jquery-1.4.2.js"></script> <script src="jquery.messager.js"></script> <script> $(document).ready(function(){ $.messager.show(0,'Jquery Messager消息弹出插件!'); $("#showMessager300x20…

2010-04-26 16:00 · jQuery · HTML · CSS · jQuery · QQ

jquery表格插件汇总

http://www.phpchina.com/index.php?action-viewnews-itemid-36401

2010-04-26 15:46 · jQuery · PHP · jQuery

jQuery工作原理解析以及源代码示例

jQuery的开篇声明里有一段非常重要的话:jQuery是为了改变javascript的编码方式而设计的. 从这段话可以看出jQuery本身并不是UI组件库或其他的一般AJAX类库. jQuery改变javascript编码方式! 那么它是如何实现它的声明的呢?这里,用以下的一段简短的使用流程: 1)查找(创建)jQuery对象:$("selector"); 2)调用jQuery对象的方法完成我们需要完成的工作:$("selector").doOurWork(); ok,jQuery就是以这种可以说是最简单的编码逻辑来改变javascript编码方式的.这两个步骤是jQuery的编码逻辑核心…

2010-04-26 15:44 · jQuery · 工作 · Ajax · prototype · jQuery · JavaScript

jquery语法

1、关于页面元素的引用 通过jquery的$()引用元素包括通过id、class、元素名以及元素的层级关系及dom或者xpath条件等方法,且返回的对象为jquery对象(集合对象),不能直接调用dom定义的方法。 2、jQuery对象与dom对象的转换 只有jquery对象才能使用jquery定义的方法。注意dom对象和jquery对象是有区别的,调用方法时要注意操作的是dom对象还是jquery对象。 普通的dom对象一般可以通过$()转换成jquery对象。 如:$(document.getElementById("msg"))则为jquery对象,可以使用jquery的方法。 由于j…

2010-04-26 15:41 · jQuery · 浏览器 · CSS · jQuery · JavaScript · IE