Created
February 27, 2012 01:42
-
-
Save markdaws/1920585 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<html> | |
<head> | |
<title>Upload Example</title> | |
</head> | |
<body> | |
<form id="uploadForm" | |
enctype="multipart/form-data" | |
action="/api/photos" | |
method="post"> | |
<input type="file" id="userPhotoInput" name="userPhoto" /> | |
</form> | |
<span id="status" /> | |
<img id="uploadedImage" /> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<script src="/javascripts/jquery.form.js"></script> | |
<script src="/javascripts/upload.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment