摘要: 本人初学JQuery。写了一个实现checkbox的全选/取消全选,实现类似于163邮箱功能。以下是代码,测试全部通过,请勿喷<html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script type="text/javascript" src="Script/jquery-1.7.min.js"></script> <script type="text/javasc 阅读全文
posted @ 2012-12-14 09:31 夜照亮了黑 阅读(588) 评论(1) 推荐(0) 编辑
摘要: 这是CSDN上提问写的。以下是代码,测试通过……<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content=" 阅读全文
posted @ 2012-12-14 09:29 夜照亮了黑 阅读(350) 评论(1) 推荐(0) 编辑
摘要: 最近需要写一个倒计时的效果,就大体写了一下。有什么不足,请多多见谅<script type="text/javascript"> var SysSecond; var InterValObj; var barcode; $(document).ready(function () { SysSecond = parseInt($("#remainSeconds").html()); //这里获取倒计时的起始时间 InterValObj = window.setInterval(SetRemainTime, 1000); //间隔函数,1秒执行 阅读全文
posted @ 2012-12-14 09:26 夜照亮了黑 阅读(322) 评论(0) 推荐(0) 编辑
摘要: public class Shop { public string Name { get; set; } public string ShopID { get; set; } } protected void Page_Load(object sender, EventArgs e) { List<Shop> lst = new List<Shop>() { new Shop(){Name="北京",ShopID="33"}, new Shop(){Name="上海",ShopID="823" 阅读全文
posted @ 2012-12-14 09:22 夜照亮了黑 阅读(632) 评论(0) 推荐(0) 编辑