Hi,
I tried to read a text file useing javascript..but it seems not to work
I tried two methods but neither works..
I will be happy if you can help me out...
thanks
VB Code:
<html> <body> <script> var fname; function winOpen(fname) { window.open(""+fname+"","toolbar=no,status=no,menubar=no,scrollbars=yes,left=50,top=100,width=250,height=400") } </script> <a href="javascript:winOpen('text.txt')">my text file to read</a> <form> <input type=button value="read this text file" onClick="winOpen('text1.txt')" </form> </body> </html>




Reply With Quote