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

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -