I have the following script:
document.open("text","c:\\path\\to\\file\\browser.txt");
appendChild(navigator.appCodeName + ";");
appendChild(navigator.appName + ";");
appendChild(navigator.appVersion + ";");
appendChild(navigator.userAgent + ";");
appendChild(navigator.platform + ";");
appendChild(is_java + ";");
// ----------------------
if (is_opera) {
     appendChild("<TT>***Version numbers here are only valid</TT><BR>");
     appendChild("<TT>***if Opera is set to identify itself as Opera</TT><BR>");
     appendChild("<TT>***use is_opera vars instead</TT><BR>");
     }
     appendChild(is_major + ";");
     appendChild(is_minor + ";");
// ----------------------
if (is_opera) {
     if (is_opera7up) {
     appendChild(is_js);
         } else {
         appendChild(is_js);
         }
             } else {
             appendChild(is_js + ";");
             }
// ----------------------
appendChild(is_screen + ";");
if (window.screen) {
     appendChild(screen.height + ";");
     appendChild(screen.width + ";");
     appendChild(screen.availHeight + ";");
     appendChild(screen.availWidth + ";");
     appendChild(screen.colorDepth + ";");
}
// ----------------------
if (is_Flash) {
     appendChild(is_FlashVersion);
     } else {
     appendChild("unknown");
     }
document.close();
It does what I want it to do by collecting browser information. HOWEVER, it is not writing information to the file. How do I make it append the browser information to the text file?
You see the appendChild -- I also tried using document.write (which puts the information on the screen).
I am a Javascript newbie so please make your answers as straightforward as possible. Thank you.
 
     
     
     
    