代码如下:
function aa(){
document.fileForm.t1.click();
var val=document.fileForm.t1.value;
if(val==""){
return;
}else{
var tt=document.fileForm.sele;
var tiem=document.createElement("OPTION");
tt.options.add(tiem);
tiem.value=val;
tiem.innerText=val;
document.fileForm.t1.value=""
var v=document.fileForm.t1.value;
}
}