Click to See Complete Forum and Search --> : Example of openning a file in a browser


webdeveloper
12-06-2002, 09:02 AM
Hi,

Can someone share an example, on clicking a button, the code that would read a text file and place the results onto the browser.
I looked at fileupload method but wasn't able to find an example of how to use it.

Thanks in advance.

Zach Elfers
12-06-2002, 09:04 AM
<a href="file.txt">Click here</a>

That should open the file in the browser window in most browsers.:)