摘要:
最近需要写一个倒计时的效果,就大体写了一下。有什么不足,请多多见谅<script type="text/javascript"> var SysSecond; var InterValObj; var barcode; $(document).ready(function () { SysSecond = parseInt($("#remainSeconds").html()); //这里获取倒计时的起始时间 InterValObj = window.setInterval(SetRemainTime, 1000); //间隔函数,1秒执行 阅读全文
摘要:
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" 阅读全文