![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jQuery
syh945
这个作者很懒,什么都没留下…
展开
-
jQuery练习一
ex-1.html [code="html"] Untitled Document //点击任何一个 li 节点, 弹出其文本值 $(document).ready(function(){ //给 li 节点增加方法 $("li").click(function(){ alert($...原创 2011-04-06 20:02:43 · 112 阅读 · 0 评论 -
jQuery练习二
ex-2.html [code="html"] Untitled Document //需求: 点击任何一个 li 节点, 改变其文本节点的文本值: 若文本节点中没有 "^^", 则在前边加上 "^^", 若有则去掉 $(document).r...原创 2011-04-06 20:17:28 · 138 阅读 · 0 评论 -
jQuery练习三
ex-3.html [code="html"] Untitled Document $(document).ready(function(){ //全选 $("#CheckedAll").click(function(){ $(":checkbox[name='items']")...原创 2011-04-06 21:35:44 · 100 阅读 · 0 评论 -
jQuerty练习四
ex-4.html [code="html"] Untitled Document //****知识: 在 js 中 null, undefined, 0, false 都可以作为 false 使用, 除此以外可以作为 true 使用 ...原创 2011-04-06 22:26:10 · 116 阅读 · 0 评论 -
jQuery练习五
ex-5.html [code="html"] Untitled Document $(function(){ function deleteRow(aNode) { var $trNode = $(aNode).parent().parent() ; ...原创 2011-04-07 21:10:05 · 109 阅读 · 0 评论 -
jQuery练习六
ex-6.html [code="html"] Untitled Document $(function(){ function setFileCount() { $(".fileCount").each(function(index){ $(this).text(...原创 2011-04-07 22:28:34 · 94 阅读 · 0 评论 -
jQuery练习七
ex-7.html [code="html"] Untitled Document function replaceElement(ele1, ele2) { var $ele1Temp = $(ele1).c...原创 2011-04-08 00:23:48 · 113 阅读 · 0 评论 -
jQuery练习八
ex-8.html [code="html"] Untitled Document $(function(){ //给文本输入框增加聚焦函数 $(":text").focus(function(){ var val = $(this).val() ; if(val ...原创 2011-04-08 22:59:29 · 109 阅读 · 0 评论