Read a file in script!! HOw can we Read a file using Java Script.. My requirement is i have to read a file in java script.. Can anyone tell me how to do that..

Robert Lybarger

ActiveX can be used. However, be aware that an increasing number of people are not using internet explorer on windows (either due to alternate browser or due to alternate operating system) so ActiveX isn't an all-encompassing solution itself. (Might still work for the poster, depending on the exact situation, granted.) In fact, allowing activeX to interact with files can be a security risk to the system as a whole.