Onclick event on HTML File input not working on soloLearn | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Onclick event on HTML File input not working on soloLearn

I wrote a code that requires a user to select an image from their device using HTML file input, the webview displays well but on clicking on the input, nothing happens. I have tried running the same code on my browser and it worked. In the code below, I used JavaScript to trigger the click event on a file input but still yet nothing happened https://sololearn.com/compiler-playground/WGWfgtnrtLEZ/?ref=app is there a reason for it now working on this app?

29th Feb 2024, 2:19 PM
IAmSupreme
IAmSupreme - avatar
3 Answers
+ 6
Sololern does not have access to your device's memory
29th Feb 2024, 2:42 PM
Knight
Knight - avatar
0
Bonsoir quelqu'un peut m'aider à apprendre html css et javascript
2nd Mar 2024, 12:29 AM
Kya Gueye
Kya Gueye - avatar
0
Kya Gueye commence les cours sur l'application
2nd Mar 2024, 2:51 PM
IAmSupreme
IAmSupreme - avatar