摘要:
function ajax(url, vars, callbackFunction){ var request = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("MSXML2.XMLHTTP.3.0"); request.open("GET", url, true); request.onreadystat... 阅读全文
摘要:
function CheckChange(checkbox, DivGroup) { obj = document.getElementById(DivGroup); //obj.style.display = chk.Checked; o = document.getElementsByTagName("INPUT") for (i = 0; i < o.length; i++) { ... 阅读全文
摘要:
//文件使用FileUpload打开 if (FileUpload1.HasFile) { try { //流读取 StreamReader sr = new StreamReader(FileUpload1.FileContent); while (!sr.EndOfStream) { string single = sr.ReadLine(); //读取一行 char[] b... 阅读全文