par
karl » 05 nov. 2009, 13:18
Bonjour a tous, lorque je teste un truc du genre :
function first()
{
variabl=0;
function second() {
variabl++;
alert(variabl);
}
setInterval("second()",50);
}
setInterval("first()",3000);
j'ai une erreur: Objet attendu
Je comprends pas pourquoi, Merci de votre aide
Bonjour a tous, lorque je teste un truc du genre :
[html]function first()
{
variabl=0;
function second() {
variabl++;
alert(variabl);
}
setInterval("second()",50);
}
setInterval("first()",3000);[/html]
j'ai une erreur: Objet attendu
Je comprends pas pourquoi, Merci de votre aide