On my webserver. It is in my home but I get to it by www. Can't I browse for a file in java script. Maybe something like this
Code:
function openfile(file) {
window.location = "file:///" + file;
I Know it has this
Code:
<input type="file">
but not sure how to work it.
Maybe I am going at this wrong? I have a script that changes the text in a container on my webpage but I have to navigate...
I have a script that replaces the content of a container on a webpage. What I would like to do is browse to a file and select it. What I do now is type the info in but would like to automate it more. In asp I can browse to a file from my admin page select the file and it posts the first few lines of the text with a more link. can I do this in javascript?
Leave a comment: