08 2019 档案

摘要:select change下拉框选项变化判断选中值,添加(attr)或移除(removeAttr)一个或多个属性 removeAttr() 方法从被选元素移除一个或多个属性 阅读全文
posted @ 2019-08-22 12:12 James·wang 阅读(1873) 评论(0) 推荐(0)
摘要:<label style="float:left;margin-top:5px;margin-left:10px;cursor:pointer"><input type="checkbox" id="IsRecommendCoin" /> <span style="display: inline-block; vertical-align: middle; margin-bottom: 5px;f 阅读全文
posted @ 2019-08-22 11:09 James·wang 阅读(2487) 评论(0) 推荐(0)
摘要:请把: 修改成: 既是不要使用ApplicationClass,直接使用Application 阅读全文
posted @ 2019-08-21 11:08 James·wang 阅读(1224) 评论(0) 推荐(0)
摘要:1.for 循环原生JS最基本的使用: for - 循环代码块一定的次数2.for infor/in - 循环遍历对象的属性以任意顺序遍历一个对象的可枚举属性。对于每个不同的属性,语句都会被执行 for…in 不应该被用来迭代一个下标顺序很重要的 Array . 3.forEach()和map()J 阅读全文
posted @ 2019-08-19 18:28 James·wang 阅读(3392) 评论(0) 推荐(0)
摘要:注意:使用Web Uploader文件上传需要引入三种资源:JS, CSS, SWF 补充上传成功后返回值的两方结合的问题: 阅读全文
posted @ 2019-08-18 23:20 James·wang 阅读(2623) 评论(0) 推荐(0)
摘要:formatter: 'number', formatoptions: { thousandsSeparator: "", decimalPlaces: 2 } 阅读全文
posted @ 2019-08-14 12:10 James·wang 阅读(1566) 评论(0) 推荐(0)
摘要:beforeRequest: function () { $("thead th").css("text-align", "center").css("font-weight", "bold").css("background-image","url(/Content/libs/jquery-ui/ 阅读全文
posted @ 2019-08-14 12:01 James·wang 阅读(2032) 评论(0) 推荐(0)
摘要:var bookkeeperlist = await db.Bookkeeper.Where(a => a.AgentUserId == userId && a.ServiceItem == 1).GroupBy(b => b.BasicUserId).Select(a => new MyServicesListViewModel() { ... 阅读全文
posted @ 2019-08-12 16:11 James·wang 阅读(1037) 评论(0) 推荐(0)
摘要:var files = $(".profile-content").find("input[type='file']"); files.each(function () { alert($(this).attr("data-id")); }) 阅读全文
posted @ 2019-08-02 21:18 James·wang 阅读(359) 评论(0) 推荐(0)
摘要:注意要加载上传组件js .下载地址:https://blog-static.cnblogs.com/files/firstcsharp/ajaxfileupload.js 关于后台的上传代码就不用说了吧?网上一大把 阅读全文
posted @ 2019-08-01 16:52 James·wang 阅读(329) 评论(0) 推荐(0)