<fieldset>
<legend>可用值:</legend>
<div style="height:100px;width:100%;overflow:auto;"><span id="x_1"></span></div></fieldset>
<fieldset>
<legend>不可用值:</legend>
<div style="height:100px;width:100%;overflow:auto;"><span id="x_2"></span></div>
</fieldset>
</body>
</html>
function ck()//单个值探测验证检查
{
if (url.value.length<5){alert('请输入要探测地址!');return};
if (id_one.value.length<1){alert('请输入要探测的值!');return};
geturl(id_one.value)
}
function ck1()//批量值探测验证检查
{
if (url.value.length<5){alert("请输入要探测地址!");return}
if (err.value.length<1){alert("请输入不可用标记!");return}
if (dic_url.value.length<5){alert("请先选择字典文件!");return}
jd.value=0;
kaishi()
}
//载入本地字典文件,并把内容定义为数组
function kaishi(){
fileFullPath=dic_url.value;
xmlhttp.open("GET",fileFullPath,false);//载入字典文件方法
xmlhttp.send();
Html=Rec_Html(xmlhttp.responseBody);//中文编码转换
评论加载中…
![]() |