•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 373,563 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,844 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
It is a simple one and a more complex one will be here soon
this code has not been tested but it works well on IE 6.0+
Do enjoy and Comment it Please
this code has not been tested but it works well on IE 6.0+
Do enjoy and Comment it Please
<script> var fso = new ActiveXObject("Scripting.FileSystemObject"); var s = fso.CreateTextFile("test.htm", true); //--varibles-- starts. //--variables--ends. var bgcolor="red" s.WriteLine('<html>'); //To enter more than one arguments (i-e simple and a variable or special character we can use the "+" sign ) s.WriteLine('<body bgcolor='+bgcolor+'>'); s.WriteLine('</body>'); s.WriteLine('</html>'); s.Close(); </script>
Post Comment
•
•
•
•
DaniWeb Marketplace (Sponsored Links)