1
How do I get input info in html?
TristanMisja (6)

I know how to use the <input> tag, but how do I get the output from it? Can you please create a example repl to explain? FYI I'm using <input type="file" id="fileInput" multiple onchange="showname()"/>

You are viewing a single comment. View All
2
vedprad1 (456)

You have to create a server to process the input. I would reccomend either learning Node.js or PHP to start learning how servers process this input. w3schools.com is a good resource for this.

Or, if you want to cheat this system. you can just use document.getElementById('id').value and process it in Vanilla JavaScript, but I do not think that will work for files.

If this answers your question, please check the checkmark on the left side of this message. Thanks and Good Luck!