Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Thanks<html> <head> <title> New Document </title> </head> <script type="text/javascript"> <!-- function UploadStatus() { var xmlhttp; if (window.XMLHttpRequest) {// It will support IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// It will support IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("statushere").innerHTML=xmlhttp.responseTe +xt; } } xmlhttp.open("POST","../cgi-bin/upload.pl",true); xmlhttp.send(); } //--> </script> <body> <h1>Upload Form</h1> <form enctype="multipart/form-data"> <center> Enter a file to upload: <input type="file" name="upfile"><br> <input type="button" name="button" value="Upload File" onclick="Upload +Status()"> </center> <div id="statushere" align="center"></div> </form> </body> </html>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Upload file- Ajax+Perl
by Anonymous Monk on Jan 29, 2014 at 14:55 UTC | |
by Anonymous Monk on Jan 30, 2014 at 00:01 UTC | |
by Anonymous Monk on Jul 10, 2016 at 15:14 UTC | |
by Anonymous Monk on Jul 10, 2016 at 20:19 UTC | |
by romanegloo (Initiate) on Jul 12, 2016 at 18:03 UTC | |
|
Re: Upload file- Ajax+Perl
by Anonymous Monk on Oct 12, 2012 at 21:47 UTC | |
by Anonymous Monk on Oct 12, 2012 at 22:14 UTC | |
by Anonymous Monk on Oct 12, 2012 at 22:34 UTC | |
by Mr. Muskrat (Canon) on Oct 14, 2012 at 17:15 UTC |