Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Javascript code
ajunuthula
Hi, Am trying to execute my sample javascript code from within birt.
I am creating a text file and writing to the file.
Here is the code:
<form>
<script type="text/javascript">
<body onload="WriteToFile()">
function WriteToFile()
{
var fso = new ActiveXObject("Scripting.FileSystemObject");
var s = fso.CreateTextFile("C:\\Test.txt", true);
s.WriteLine('Hello');
s.Close();
}
</script>
</form>
I cannot create the text file, can anyone help me here.
Thank you,
Aparna J
Find more posts tagged with
Comments
ajunuthula
Any help/suggestions please?