摘要: Jquery代码:1 $("table tr:nth-child(even)").addClass("striped");2 3 $("tr").mouseover(function() {4 $(this).addClass("over");5 }).mouseout(function() {6 $(this).removeClass("over");7 })这里有一个JQuery的链式操作view sourceprint?1$("tr").mouseover(funtio 阅读全文
posted @ 2011-12-01 17:31 易尔购 阅读(917) 评论(0) 推荐(0) 编辑
摘要: jQuery在客户端操作Table学习:不过有很多很多的不足,还需要学习掌握。<style type="text/css">.hover{background-color:red;}</style><table id="table1" border="1" cellpadding="0" cellspacing="0"><tr><th><input type="checkbox" id="checka 阅读全文
posted @ 2011-12-01 16:05 易尔购 阅读(38001) 评论(1) 推荐(3) 编辑
摘要: $(document).ready(function () { $("table td").click(function () { var tdSeq = $(this).parent().find("td").index($(this)[0]); var trSeq = $(this).parent().parent().find("tr").index($(this).parent()[0]); alert("第" + (trSeq + 1) + "行,第" + (tdSeq + 1) + 阅读全文
posted @ 2011-12-01 15:43 易尔购 阅读(841) 评论(0) 推荐(0) 编辑
摘要: 这里,用的jquery来做的。关键代码如下:代码如下://添加数据行;function AddRow(){var vTb=$("#TbData");//得到表格ID=TbData的jquery对象//所有的数据行有一个.CaseRow的Class,得到数据行的大小var vNum=$("#TbData tr").filter(".CaseRow").size()+1;//表格有多少个数据行var vTr=$("#TbData #trDataRow1"); //得到表格中的第一行数据var vTrClone=vTr. 阅读全文
posted @ 2011-12-01 14:52 易尔购 阅读(3590) 评论(1) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><title>Form Object example</title><head> <script language="javascript"> function delrow1() { var oElement = 阅读全文
posted @ 2011-12-01 14:03 易尔购 阅读(1535) 评论(0) 推荐(0) 编辑
摘要: http://www.5icool.org 阅读全文
posted @ 2011-12-01 12:07 易尔购 阅读(181) 评论(0) 推荐(0) 编辑
摘要: SQL中有多种多样的函数,下面将为您介绍SQL中的ISNULL函数,包括其语法、注释、返回类型等,供您参考,希望对您学习SQL能够有所帮助。ISNULL使用指定的替换值替换 NULL。语法ISNULL ( check_expression , replacement_value )参数check_expression将被检查是否为 NULL的表达式。check_expression 可以是任何类型的。replacement_value在 check_expression 为 NULL时将返回的表达式。replacement_value 必须与 check_expresssion 具有相同的类型 阅读全文
posted @ 2011-12-01 09:38 易尔购 阅读(9435) 评论(0) 推荐(2) 编辑