简体   繁体   中英

how to popup a txt file in javascript on client side

Am new to javascript and i would to like to popup a txt file on clientside whenever i clicked on a particular button . is it possible to achieve it javascript ...

Thanks

The security issues might not be your concern, but they are the browser's :). The client's browser won't let you do that because it is a security threat to the client.

Nope that is not possible for security reasons . Access client files with javascript would have lead to serious security issues if it was possible.

I know you can use FSO in bad IE browser but you should avoid doing that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM