in reply to Using CGI (Perl) and javascript at the same time

This is the vbscript code not sure where it went when I posted:
<html> <body> <script language="vbscript"> <!-- Set objNetwork = CreateObject("WScript.Network") document.write(objNetwork.computername) //--> </script> </body> </html>

jdporter - edited: added code tags

Replies are listed 'Best First'.
Re: Re: Using CGI (Perl) and javascript at the same time
by ambrus (Abbot) on Apr 07, 2004 at 13:12 UTC

    The vbscript code is gone with the html comment markers <!-- ... -->. Use a code tag to avoid that.