• js学习


    jQuery(document).ready(function () {            var MyDate=new Date();                 jQuery("#gsggDiv li").each(function(){              var publicDate=new Date(jQuery(this).find(".gsggDatePublic").text());              var overDate=new Date(jQuery(this).find(".gsggDateOver").text());              if(Date.UTC(publicDate)<=Date.UTC(MyDate)&&Date.UTC(overDate)>=Date.UTC(MyDate))              {              jQuery(this).find(".gsggImage").attr("src","/nhb/Themes/Default/Css/Images/ico06.gif");              }    });                   });    jQuery(document).ready(function () {            var MyDate=new Date();      var date=MyDate.getDate()+2;      var month=MyDate.getMonth()+1;      var overDate=new Date(MyDate.getFullYear()+"-"+month+"-"+date);            jQuery(".crosstalbe").each(function(){      jQuery(this).find("td.tdmodified").each(function(){              var modifDate=new Date(jQuery(this).text());             var modifoverdate=modifDate.getDate()+2;      var modifovermonth=modifDate.getMonth()+1;      var modifoverDate=new Date(modifDate.getFullYear()+"-"+modifovermonth+"-"+modifoverdate);              if(Date.UTC(modifoverDate)<=Date.UTC(overDate))              {              jQuery(this).prev().append("<img src='/nhb/themes/default/css/images/new_gb.gif'/>");              }    });     });                 }); jQuery(document).ready(function () {             jQuery(".tdmodified").prepend("[");

                jQuery(".tdmodified").append("]");                    });

  • 相关阅读:
    将参数传递给线程(Vc#2005)
    ADO.NET更新ACCESS碰到的怪异问题
    MVCRESTSilverLight 之 MapServiceRoute
    MEF Export 和 Import 委托
    MVCRESTSilverLight 之MainPage.xaml.cs
    设计模式访问者
    MVCRESTSilverLight 之 ViewModels\MainViewModel.cs
    MVCRESTSilverLight 之Api\CustomerApi.cs
    MVCRESTSilverLight 之 RestExample.Model.Silverlight\Customer.cs
    MVCRESTSilverLight 之 HttpConfiguration
  • 原文地址:https://www.cnblogs.com/GreenGrass/p/5075339.html
Copyright © 2020-2023  润新知