I take a file input in html
<input type="file" />
How can i store the input image into a image object variable?
-
What do you want after storing that image? Wanna show? Or send to server?Prashant Pimpale– Prashant Pimpale2019-04-29 14:06:39 +00:00Commented Apr 29, 2019 at 14:06
-
are you looking for the image tag from the DOM, or do you want to get the image as a binary file ??iliasse– iliasse2019-04-29 14:07:35 +00:00Commented Apr 29, 2019 at 14:07
-
I want to send the file to the server.Saurabh Agarwal– Saurabh Agarwal2019-10-17 16:18:46 +00:00Commented Oct 17, 2019 at 16:18
-
I want to get the image as binary file.Saurabh Agarwal– Saurabh Agarwal2019-10-17 16:19:52 +00:00Commented Oct 17, 2019 at 16:19
Add a comment
|