All pastes #449840 Raw Edit

Anonymous

public javascript v1 · immutable
·published 2007-04-20 14:04 UTC
rendered paste body
<script type="text/javascript">    document.getElementById("background-upload-form").onsubmit = function(){        this.upload.disabled = true;        this.button.disabled = true;        document.getElementById('output').innerHTML='File Uploading...';    };</script><form method="post" action="upload_save.php" target="background-uploader" enctype="multipart/form-data" id="background-upload-form">  File: <input type="file" name="upload" />  <input type="submit" name="button" value="Upload" /><div id="output"></div></form>