12 2015 档案

摘要:var objXMLHttp;/** * 进行createXMLHttpRequest对象的创建,由于不同的浏览器厂商对于XMLHttpRequest的支持不一样,因此创建的时候需要根据不同的浏览器进行创建 * */function createXMLHttpRequest(){ //对于Fi... 阅读全文
posted @ 2015-12-28 17:32 小小高 阅读(248) 评论(0) 推荐(0) 编辑
摘要://需要Base64见:http://www.webtoolkit.info/javascript-base64.html function make_base_auth(user, password) { var tok = user + ':' + pass... 阅读全文
posted @ 2015-12-28 16:09 小小高 阅读(2823) 评论(0) 推荐(0) 编辑
摘要:之前Json字符反序列化为C#对象时总是写一个实体类。。如:{"a":5,"b":10} 这种json字符串对应的实体类为:public class Rootobject { public int a { get; set; } public int b { get; set; } }对应的C#后台... 阅读全文
posted @ 2015-12-23 14:46 小小高 阅读(1020) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-12-22 14:18 小小高 阅读(441) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;using System.Threading;using System.Threading.Tasks... 阅读全文
posted @ 2015-12-21 17:47 小小高 阅读(618) 评论(0) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2015-12-10 11:56 小小高 阅读(5088) 评论(0) 推荐(0) 编辑
摘要:function test(){ //hahahhahahhahahha}alert(test.toString()); 阅读全文
posted @ 2015-12-08 14:35 小小高 阅读(625) 评论(0) 推荐(0) 编辑
摘要:var obj={x:10,y:50};var t= JSON.stringify(obj);console.log(typeof t);var gg= JSON.parse(t);console.log(typeof gg) 阅读全文
posted @ 2015-12-08 13:28 小小高 阅读(9905) 评论(0) 推荐(0) 编辑
摘要:function getXMLHttpRequest() { var xhr; if(window.ActiveXObject) { xhr= new ActiveXObject("Microsoft.XMLHTTP"); }else if (... 阅读全文
posted @ 2015-12-04 10:38 小小高 阅读(10334) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示