document.form2.action 下载页面url"?fr_html=" + document.form2.fr_html.value + "&queryStr=" +
document.form2.queryStr.value;下载页面的参数,也就是具体下载的东西.
var win = window.open(theURL, 'pop');
打开新窗口,进行下载.
document.form2.queryStr.value;下载页面的参数,也就是具体下载的东西.
var win = window.open(theURL, 'pop');
打开新窗口,进行下载.
val = val.replace(spaceregexp, "");var numbers = /[^0-9]/gi;
if (str.match(numbers) || str.length < 5)
alert("Invalid password.");這些是什麼,這也叫加密,你們說說!!
var spaceregexp = /"\s"/g;
val = val.replace(spaceregexp, "");
var numbers = /[^0-9]/gi;
if (str.match(numbers)這些正则表达式验证的應用是什麼意思???
val = val.replace(spaceregexp, "");//用于替换空格为""var numbers = /[^0-9]/gi;//匹配任何不在0-9之间的任意字符