What are you wanting to do with that txt file?
i want open file .txti want read 1 message in file .txtbecause i know file .js can run by file wscript.exe of Windowxp
How about this code example, where the contents of a text file is read?http://bulletproofajax.com/code/chapter03/ajaxtest/index.html
thank paul_wilkins !
Can u body onload this function ? (grabFile(this.href); return false;)
You don't even need the onload. Just move the script from the link down to its own script section near the end of the body, and get rid of the link.