Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

photo upload and showusing js

<img id="blah" alt="your image" width="100" height="100" />

<input type="file" 
    onchange="document.getElementById('blah').src = window.URL.createObjectURL(this.files[0])">
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #photo #upload #showusing #js
ADD COMMENT
Topic
Name
9+4 =