padjiwib
09-01-2010, 01:53 PM
Is there any possibility to write a text file using Chrome/FF? On the other words, writing a text file w/o using ActiveX. Thank you.
|
||||
write to text file w/o using IEpadjiwib 09-01-2010, 01:53 PM Is there any possibility to write a text file using Chrome/FF? On the other words, writing a text file w/o using ActiveX. Thank you. padjiwib 09-01-2010, 02:23 PM This is basically the code that works if I'm using IE. var fso1 = new ActiveXObject("Scripting.FileSystemObject"); var tf1 = fso1.CreateTextFile("c:\\PassFail.csv", true); codebyter 09-01-2010, 03:03 PM ActiveXObject This code relies on Internet Explorer. Writing text files to client machines via javascript is really a security breach and is not acceptable. If developers could write code to save files onto your computer, we would be in serious trouble. The most you can write is a cookie :) padjiwib 09-01-2010, 03:53 PM I heard there is something called XMLHttpRequest that is compatible to all browsers. What does that actually do? Is there something to do with Javascript? Thank you. |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum