I have a variable called æ‘D?
I am trying to write an if else statement in javascript.
The variable id contains only characters between 0-9, A-Z, and a-z.
How would I finish this off this script if I wanted the æƒf?facter to be the variable ID has seven characters:
if (id XXXXXXXX)
{
alert ("Your ID has seven characters");
}
else
{
alert ("Your ID has less or more than seven characters");
}
Thanks for any help.
I am trying to write an if else statement in javascript.
The variable id contains only characters between 0-9, A-Z, and a-z.
How would I finish this off this script if I wanted the æƒf?facter to be the variable ID has seven characters:
if (id XXXXXXXX)
{
alert ("Your ID has seven characters");
}
else
{
alert ("Your ID has less or more than seven characters");
}
Thanks for any help.