How To To Base 64 Encode In Two Images In Same File
Here i have two form fields , in this i want to convert the base 64 encode from image,and after that i want to pass in JSON Format to next URL, i tried like this but i am not getti
Solution 1:
Try this:
var reader = new FileReader();
reader.onload = function(event) {
var src= event.target.result;
console.log(src);
};
Post a Comment for "How To To Base 64 Encode In Two Images In Same File"