Created
April 6, 2009 07:25
-
-
Save Bluebie/90657 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document.body).adopt( | |
(new Element('form', {method: 'post', enctype: 'multipart/form-data', action: '/alter-avatar/' + kind + '/upload'})).adopt( | |
(new Element('div')).adopt( | |
new Element('input', {'type': 'file', name: 'upload'}), | |
new Element('input', {'type': 'submit', value: 'Send Picture'}) | |
) | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment