摘要:
jquery判断checked的三种方法:.attr('checked): //看版本1.6+返回:”checked”或”undefined” ;1.5-返回:true或false.prop('checked'): //16+:true/false.is(':checked'): //所有版本:tr 阅读全文
摘要:
使用示例: HttpGet返回数组:[{Id:1,ParentId:-1},{Id:2,ParentId:1}] 阅读全文
摘要:
一、自定义特性 二、在Action上面加入特性 三、继承ActionFilterAttribute实现LogFilter日志 四、在App_Start文件夹下面加入全局日志过滤器 阅读全文
摘要:
1、float: right的使用用法:使用html代码<span style="float: right">*****</SPAN>,其中*****就是你想靠右的内容,比如一个日期:{date1},如果想让此元素靠右,则应该写:<span style="float:right">{date1}</ 阅读全文
摘要:
参考资料: https://stackoverflow.com/questions/9017634/accordion-is-not-a-function 原因:加载了2次jquery js文件 阅读全文
摘要:
$.extend($.fn.datagrid.defaults.editors, { numberbox: { init: function (container, options) { var input = $('').appendTo(container); ... 阅读全文
摘要:
IE 语法检查严格 最后一个参数后不能加逗号 定义和用法 push() 方法可向数组的末尾添加一个或多个元素,并返回新的长度。 语法 返回值 把指定的值添加到数组后的新长度。 说明 push() 方法可把它的参数顺序添加到 arrayObject 的尾部。它直接修改 arrayObject,而不是创 阅读全文
摘要:
Actually i solved the problem. It was because the idField of the table i was using was incorrect. it appears that the getSelections uses the idField p 阅读全文