日期:2014-05-17 浏览次数:20676 次
服务器返回消息:<input id="txtFilePath" type="text" size="50" /> <script type="text/javascript" language="javascript"> var uploaderMgr = new HttpUploaderSingleMgr(); uploaderMgr.Config["PostUrl"] = "http://localhost:8080/asp.net/upload.aspx"; uploaderMgr.Load(); uploaderMgr.CompleteHook = function(msg) { document.getElementById("txtFilePath").value = msg; }; window.onload = function() { uploaderMgr.Init(); }; </script>