convert to base64 and send image using ajax in Javascript -
I need to send the selected image to the server, I have already tried it here
here HTML is Part
& lt; Div class = "row" & gt; & Lt; Input type = "file" name = "filUpload" id = "filUpload" onchange = "showimage preview (this)" & gt; & Lt; Br / & gt; & Lt; img id = "imgprvw" alt = "uploaded image preview" class = "img-thumbnail" /> & Lt; / Div & gt; I need to get an encoded image in javascript variable, but I do not know
/ p> P>
Comments
Post a Comment