I am trying to take a photo using HTML5 input field, and need to move it to a img tag as below:
Expand|Select|Wrap|Line Numbers
- <p>Capture Image: <input type="file" accept="image/*" id="f_capture" capture="camera"/> </p>
- <img id="imageholder" src="" />
$("#f_capture").val() evaluates to C:\fakepath\photo.JPG"
I am not sure how to extract the value from the input field like I would normally do with ordinary <input> items.
Any help appreciated. Thanks.