挺简单的ASP,看一下,各位能看出什么问不
在火狐上面既然用不了,IE就可以,360也不可以,各位讨论讨论<body>
<fieldset style="padding:0 8px 8px 8px;"><legend><strong>待发电话</strong></legend>
<div style="vertical-align:top; text-align:center;"><textarea name="tomobile" id="tomobile" cols='100' rows='12' class="lefttextarea"
onkeydown="countMSum();" onkeyup="countMSum();" onmousedown="countMSum();" onmouseup="countMSum();" onfocus="countMSum();" onblur="countMSum();"
style="width:610px; "></textarea> </div>
</fieldset>
<form name="upload" method="post" action="smssend.asp?action=upload" style="margin:0px;padding:0px;">电话上传:<input size="31" type ="file" name ="file1"
id="file1" /> <input type ="submit" value="上传"/>
</form></fieldset>
</div>
</body>
</html>
<%
if request("action")="upload" then
call upload()
end if
%>
<%
sub upload()
dim map,myarry
map=Trim(request.Form("file1"))
set fso=server.CreateObject("scripting.FileSystemObject")
set txtfile=fso.opentextfile(map)
while not txtfile.atendofstream
myarry=txtfile.ReadAll
response.Write "<script language=javascript>var str=document.getElementById(""tomobile"").value;str=str+"""&myarry&"""+"","";document.getElementById
(""tomobile"").value=str.replace(/,/g, ""."")</script>"
wend
txtfile.close
end sub
%>