伊图教程网[www.etoow.com]
http://www.etoow.com/html/2007-03/1172834439.html
Function bytes2BSTR(vIn)
dim i
strReturn = ""
For i = 1 To LenB(vIn)
ThisCharCode = AscB(MidB(vIn,i,1))
If ThisCharCode < &H80 Then
strReturn = strReturn & Chr(ThisCharCode)
Else
NextCharCode = AscB(MidB(vIn,i+1,1))
strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt(NextCharCode))
i = i + 1
End If
Next
bytes2BSTR = strReturn
End Function
</script>
<body onload="re();">
<span id=t>数据载入中</span>
</body>
这样,当你运行eg4.php时,页面会出现当前时间,每2秒刷新一次,看不到进度条,也没有小漏斗标记了
XMLHTTP刷新远程数据的PHP+JS代码演示(支持中文)
'http://www.etoow.com/html/2007-03/1172834439.html