Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
5th Aug 2020, 4:34 AM
Prachi The Pari ⭐
Prachi The Pari ⭐ - avatar
+ 11
Pikachu(you must heard my name) It is *NOT* illegal.
5th Aug 2020, 6:08 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 10
Since JavaScript runs on browser you can not unknowingly access users files. The only way to access user files is to use input type='file'. If you're talking about Node.js on server then it's a different story.
5th Aug 2020, 5:23 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 9
<input type="file"/> will do this for you Note : Sololearn dosent supports this . This can be only done on browser like firefox, chrome, Mozilla etc
5th Aug 2020, 4:27 AM
Ayush Kumar
Ayush Kumar - avatar
+ 8
I think Prachi The Pari💕 is right because on sololearn we can't interact with local storage infact it is possible on browsers
5th Aug 2020, 4:35 AM
Ayush Kumar
Ayush Kumar - avatar
+ 6
I used to learn c++ and c# only but if you need answer to your question, you will probably find it on w3schools.com
5th Aug 2020, 4:34 AM
Mady_is_here
Mady_is_here - avatar
+ 6
You want to input a file Path And then website should show that file right??
5th Aug 2020, 4:35 AM
Shino
Shino - avatar
+ 6
乂۝丹ⓨㄩک廾۝乂〖թг๏〗 I think you are right bro😊
5th Aug 2020, 4:37 AM
Mady_is_here
Mady_is_here - avatar
+ 6
Pikachu(you must heard my name) Thanx for sharing 😅😅😀
5th Aug 2020, 6:31 AM
CliX [Less Active ❌]
CliX [Less Active ❌] - avatar
+ 2
<input type="file" id="myfile" name="myfile"> With this input you will be able to select a file for upload from ur user . You have to do some backends to store it.easiest way is PHP and SQL.
5th Aug 2020, 9:01 AM
APU CHAND MALIK
APU CHAND MALIK - avatar
0
Help
6th Aug 2020, 5:38 PM
sr Altaf
sr Altaf - avatar