上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 47 下一页
摘要: 主要是使用了: 阅读全文
posted @ 2019-10-23 12:07 James·wang 阅读(1325) 评论(0) 推荐(0)
摘要: XmlDocument doc = new XmlDocument(); doc.Load(HttpContext.Current.Server.MapPath("~/WebConfig/weatherConfig.xml")); XmlNode xn = doc.SelectSingleNode("Weather"); List<CustomerInfo> lists = new List<Cu 阅读全文
posted @ 2019-10-22 08:14 James·wang 阅读(645) 评论(0) 推荐(0)
摘要: 微信小程序的 input 有个属性叫 type,这个 type 有几个可选值: text:不必解释 number:数字键盘(无小数点) idcard:数字键盘(无小数点、有个 X 键) digit:数字键盘(有小数点) 注意:number 是无小数点的,digit 是有小数点的 输入时键盘只能出现相 阅读全文
posted @ 2019-10-18 15:07 James·wang 阅读(4947) 评论(0) 推荐(0)
摘要: /// /// 自增长ID /// [DatabaseGenerated(DatabaseGeneratedOption.Identity)] //若数据库设置自增长,要加这个,不然无法更新修改状态 public int FId { get; set; } 阅读全文
posted @ 2019-10-10 14:58 James·wang 阅读(2085) 评论(0) 推荐(0)
摘要: 通常我们想要浏览器在回调方法中打开一个页签,用这个方法 //window.open("http://www.baidu.com") ; //自动打开新窗口,会被浏览器拦截,无效 但是事实上,这个会被浏览器自动拦截掉,那该怎么办呢? 我们可以模拟一个链接被点击,这样就不会被拦截了,代码如下: //打开 阅读全文
posted @ 2019-09-17 10:26 James·wang 阅读(999) 评论(0) 推荐(0)
摘要: 1、在官方文档中 https://docs.open.alipay.com/62/104743 可以清楚看到input_charset前面没有要求加下横杠,可是请求示例是带着的。经过实验得知,这个必须要加,不然会返回支付宝正忙。 2、官方文档说:“MD5签名的商户需要将key的值拼接在字符串后面”这 阅读全文
posted @ 2019-09-09 19:02 James·wang 阅读(472) 评论(0) 推荐(0)
摘要: select change下拉框选项变化判断选中值,添加(attr)或移除(removeAttr)一个或多个属性 removeAttr() 方法从被选元素移除一个或多个属性 阅读全文
posted @ 2019-08-22 12:12 James·wang 阅读(1876) 评论(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 阅读(2490) 评论(0) 推荐(0)
摘要: 请把: 修改成: 既是不要使用ApplicationClass,直接使用Application 阅读全文
posted @ 2019-08-21 11:08 James·wang 阅读(1230) 评论(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 阅读(3396) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 47 下一页