Bonjour,
j'ai la page test.html suivante :
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<head>
<title>test3</title>
<script ID="VBSInfo" language="VBScript">
<!--
Function InfoValues()
Set WshNetwork = Wscript.CreateObject("WScript.Network")
WScript.Echo "Domaine = " & WshNetwork.UserDomain
WScript.Echo "Nom ordinateur = " & WshNetwork.ComputerName
WScript.Echo "Nom utilisateur = " & WshNetwork.UserName
End Function
-->
</script>
</head>
 
<body>
 <script language="VBScript">
   InfoValues();
 </script>
</body>
</html>
Rien ne s'affiche ! quelqu'un pourrait-il me dire pourquoi svp ?