DEMOS / File Upload

The #upload{} element allows a user to upload a file into a scratch directory.

The element fires events when the upload starts and when the upload completes, and passes back original filename, the name of the file on disk, and the node to which the file was uploaded.

View Module Source

Upload Example #1

Upload example with modified button text. The default text is 'Upload'.


Upload Example #2

This example hides he upload button. When the user selects a file it will automatically start uploading.

Copyright © 2008-2010 Rusty Klophaus. Released under the MIT License.