Hi, I am getting textbox values after the user clicks a button. The textboxes are named text00,text10,text20 etc until text200
What I want to do is take the value of the character and see if it falls between 00192 and 00253 (like Á is 00193).
This is my code:
I never get in the if statement to see my alert. Any suggestions woul dbe very much appreciated
What I want to do is take the value of the character and see if it falls between 00192 and 00253 (like Á is 00193).
This is my code:
Code:
if((String.fromCharCode(document.form1["text"+i+"0"].["charAt("+j+")"].value) > 191) && (String.fromCharCode(document.form1["text"+i+"0"].["charAt("+j+")"].value) < 253))
{
alert("testing special chars");
switch(String.fromCharCode(document.form1["text"+i+"0"].charAt([""+j+""]).value))
{
case 192:
case 193:
case 194:
case 195:
document.form1["text"+i+"0"].charAt([""+j+""]).value = 'A';
break;
}
}