Javascript

Bonjour,
j'ai fait une fonction javascipt :

<script language="Javascript">
function test(){
if (confirm("sur ?")==true)return true;
else return false;

}
</script>

mais apres quand je fais

if(test()){ .... }

il me dit : Call to undefined function test()
je ne comprend pas
Configuration: Windows 2000
Firefox 2.0.0.14

1 réponse

  1. j'ai vraiment besoin d'aide please
    0