jQuery
文章平均质量分 70
sgp4205
这个作者很懒,什么都没留下…
展开
-
jQuery运行不了
很莫名其妙昨天写的jQuery简单例子,今天就不能正常运行 代码如下 index4.html --> --> http://code.jquery.com/jquery-latest.js">> --> $(function(){ va原创 2013-05-23 08:47:03 · 771 阅读 · 0 评论 -
jquery 动态改变table中某一列图片
<script type="text/javascript"> var iNum = 1; if (iNum%2==0) //判断取那个图片 imgPath = "<%=path%>/image/florian.jpg"; else imgPath = "<%=path%>/image/nonsen...2013-06-18 09:16:11 · 127 阅读 · 0 评论 -
jquery怎么获取table指定行与列的值
1、 $(document).ready(function(){ var tds = $("#table1 td"); tds.click(function(){ var tdSeq = $(this).parent().find("td").index($(this)[0])+1; //获取行 var trSeq = $(t...2013-06-15 11:46:41 · 333 阅读 · 0 评论 -
用jQuery实现鼠标在table上移动进行样式变化
1、定义样式<style type="text/css"> .striped { background-color:red; } .over { background-color:#BEBEBE; } 2、定义事件<script type="text/javascript">$(document)....2013-06-15 11:21:33 · 156 阅读 · 0 评论 -
jQuery操作Table学习总结
jQuery操作Table学习总结jQuery在客户端操作Table学习:不过有很多很多的不足,还需要学习掌握。<style type="text/css"> .hover { background-color:red; } </style><table id="table1" bord...原创 2013-06-15 10:52:05 · 82 阅读 · 0 评论 -
jQuery菜鸟学习实例
引用的<script src="http://code.jquery.com/jquery-latest.js"></script> 例子<一>:实现字体变大或变小1、主体部分: <body> <a href="#" id="larger">Larger</原创 2013-05-24 16:11:21 · 103 阅读 · 0 评论 -
jQuery实现图片变亮或变暗
一个jQuery特效例子 1、建立html或其它; 2、页面引用<script src="http://code.jquery.com/jquery-latest.js"></script> 3、页面主体代码 <body> <di...2013-05-24 11:25:17 · 656 阅读 · 0 评论 -
JQuery运行不了(2)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <head> <title>index6.html</title> <meta http-equiv="keywords" content="key2013-05-23 09:47:05 · 82 阅读 · 0 评论 -
jQuery运行不了
很莫名其妙昨天写的jQuery简单例子,今天就不能正常运行 代码如下<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html > <head> <title>index4.html</title> <meta http-eq..2013-05-22 16:28:02 · 246 阅读 · 0 评论 -
JQuery初学者简单的一个例子
任何新东东都是这样,当没弄懂或不会的时候 都是被主导; 但,一旦弄懂了,心情就会好很多的,那种感觉很舒服,很享受;这时就是所谓的 主导了; 关注JQuery很久了,看过JQuery.mi的例子(见附件),超级棒; 可是,一直没有成功的做出例子; 在MyEclipse里面添加自动提示JQuery的功能也没成功,十分灰心; 今天又试着去弄懂,因为不想放...2013-05-21 15:40:28 · 77 阅读 · 0 评论 -
JQuery添加到Eclipse中编写代码时没有提示信息
1、在Eclipse中配置jQuery 在jsp或html页面编写时,无法出现提示信息,比如 打$ 就会出现提示信息; 2、通过如下几种设置,依旧无法提示 3、如下图所示: 4、完成之后如果还是无法提示,那么右击当前项目Reload JavaScript Profile即可。 5、页面与工程 6、Eclipse 的...2013-05-10 17:16:48 · 264 阅读 · 0 评论 -
jquery 获取 TABLE单元格的值
1、JQ部分:var tds = $("#table1 td"); tds.click(function(){ //给所有td添加点击事件 var tdSeq = $(this).parent().find("td").index($(this)[0])+1;//获取总列数 var trSeq = $(this).parent().parent().fi原创 2013-06-20 15:24:43 · 1809 阅读 · 0 评论 -
用jQuery实现鼠标在table上移动进行样式变化
1、定义样式 .striped { background-color:red; } .over { background-color:#BEBEBE; } 2、定义事件$(document).ready(function(){ $("table tr:nth-child(even)").a原创 2013-06-20 15:25:39 · 1256 阅读 · 2 评论 -
jQuery菜鸟学习实例
引用的http://code.jquery.com/jquery-latest.js">> 例子:实现字体变大或变小1、主体部分: Larger Smaller when click Larger font change Big and click Smaller font change small;when click Larger fo原创 2013-05-24 16:20:52 · 619 阅读 · 0 评论 -
jQuery实现图片变亮或变暗
一个jQuery特效例子 1、建立html或其它; 2、页面引用http://code.jquery.com/jquery-latest.js">> 3、页面主体代码 4、jQ代码 $(function(){ $('#contaiter img').anima原创 2013-05-24 11:32:26 · 3509 阅读 · 0 评论 -
JQuery运行不了(2)
index6.html --> http://code.jquery.com/jquery-latest.js">> $(function(){ $('#contaiter img').animate({ "opacity":.5 });原创 2013-05-23 09:37:37 · 596 阅读 · 0 评论 -
JQuery添加到Eclipse中编写代码时没有提示信息
1、在Eclipse中配置jQuery 在jsp或html页面编写时,无法出现提示信息,比如 打$ 就会出现提示信息; 2、通过如下几种设置,依旧无法提示 3、如下图所示: 4、完成之后如果还是无法提示,那么右击当前项目Reload JavaScript Profile即可。 5、页面与工程原创 2013-05-23 08:51:16 · 2256 阅读 · 0 评论 -
jquery 获取 TABLE单元格的值
1、JQ部分:var tds = $("#table1 td"); tds.click(function(){ //给所有td添加点击事件 var tdSeq = $(this).parent().find("td").index($(this)[0])+1;//获取总列数 var trSeq = $(this).parent().parent().find...2013-06-20 14:48:38 · 426 阅读 · 0 评论