How can I make an input go to that file

I was wondering how it would be possible to take an HTML input and with javascript make it so that if the user enters 1.html in the input it will take them to the file 1.html?

30 thoughts on “How can I make an input go to that file”

Leave a Comment