Hi,
I am trying to take a photo using HTML5 input field, and need to move it to a img tag as below:
In Chrome (for testing), when I try to
$("#f_capture") .val() evaluates to C:\fakepath\pho to.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.
I am trying to take a photo using HTML5 input field, and need to move it to a img tag as below:
Code:
<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\pho to.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.
Comment