var a=document.implementation.hasFeature("Core","2.0"); var b=document.implementation.hasFeature("Core","3.0"); var c=document.implementation.hasFeature("HTML","2.0"); var d=document.implementati…
function des html jquery result html() 获取元素中HTML内容 <div id="box" style="color:red"> <strong>www.ycku.com</strong> <p>www.ppp.com</p></div> alert($('#box').html()); <strong>www.ycku.com</stro…
有时在Command和DTO之间层次比较多,写了个验证Command的函数,能实现递归验证. 比如下面这些有层级关系的class定义,能通过一句代码来进行验证: class A { [Required] public B B { get; set; } } class B { [Range(, )] public int C { get; set; } [Range(typeof(Guid), "00000000-0000-0000-0000-000000000001", "…