Verifier une instruction javascrit
loulwa
-
bof -
bof -
Bonjour,
est ce que ces instructions sont valides
for(i=0;i<tel.length;i++)
{
if(isNaN parseInt(tel.charAt(i))
{
alert("le num est invalide");
return false;
}
}
est ce que ces instructions sont valides
for(i=0;i<tel.length;i++)
{
if(isNaN parseInt(tel.charAt(i))
{
alert("le num est invalide");
return false;
}
}
Configuration: Windows Vista Internet Explorer 7.0