RDV+DIAL chat illimit� dans ta r�g!
no save
Assistance
Achat
News

Forum | webmastering
Erreur dans un code javascript ActiveX
Inside, le lun. 15 sept. 2008 à 19:43:49
bonjour, dan mon script tous me parait normale mais il y a quand même un problème il n'y a rien qui s'affiche et je voie cette erreur dnas l'addon de firefox :

Erreur : ActiveXObject is not defined


Voici le code :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

</head>
<body>

<SCRIPT LANGUAGE="JavaScript">

var fso,fso2, folder, f1, fc, s, sep;
fso = new ActiveXObject("Scripting.FileSystemObject");
folder = fso.GetFolder("music");
fc = new Enumerator(folder.files);
s += "<br>";
sep = "";

for (; !fc.atEnd(); fc.moveNext())
{
fso2 = new ActiveXObject("Scripting.FileSystemObject");
f1 = fso2.getFile(fc.item);
document.write(folder.Name);
document.write("<br />");


}

</script>
</body>
</html>


En espérant que vous puissiez m'aider :)Configuration: Windows XP
Firefox 3.0


Fong
sept. 08
Suivant
REPONSES
Fong
sept. 08
gigaga
sept. 08
Inside
sept. 08
gigaga
sept. 08
balou
sept. 08
gigaga
sept. 08
Inside
sept. 08
Version Web
Réalisé par RedShift
no save