dezkit Posted September 27, 2008 Share Posted September 27, 2008 i have this code <script> function submitonce(theform){ if (document.all||document.getElementById){ for (i=0;i<theform.length;i++){ var tempobj=theform.elements[i] if(tempobj.type.toLowerCase()=="submit") tempobj.disabled=true document.getElementById("submit").value="Uploading file... Please wait."; } } } </script> <table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <form action="upload_ac.php" method="post" enctype="multipart/form-data" name="form1" id="form1" onSubmit="submitonce(this)"> <td> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td><strong>Single File Upload </strong></td> </tr> <tr> <td>Select file <input name="ufile" type="file" id="ufile" size="50" /></td> </tr> <tr> <td align="center"><input type="submit" name="Submit" id="submit" value="Upload" /></td> </tr> </table> </td> </form> </tr> </table> but how do i do so that it just says how much percent is covered under "Uploading file..." and it has the kb/s, no progress meters or anything like that. Please guys, i have been searching for this code for nearly 365 days (1 year) in order to find this script, none of them work, im asking you, phpfreaks, please. thank you so very much!!!! Quote Link to comment Share on other sites More sharing options...
dezkit Posted September 28, 2008 Author Share Posted September 28, 2008 something like this accept without the progress meter http://www.2shared.com/ edit: anybody who reads this, please post anything, i mean anything, i need hope, i have none left. Quote Link to comment Share on other sites More sharing options...
dezkit Posted October 1, 2008 Author Share Posted October 1, 2008 Damn, so much people helping me out, thanks guys Quote Link to comment Share on other sites More sharing options...
getmukesh Posted October 1, 2008 Share Posted October 1, 2008 your problem has been solved or not? otherwise i will give you perfect solution. Quote Link to comment Share on other sites More sharing options...
getmukesh Posted October 1, 2008 Share Posted October 1, 2008 Please find attached exact code for ajax upload. If you did not find any solution. if you have any problem please let me know. [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.