Albert Peschar 21 January 2009 Hey, this should work for accented letters. var char = string.fromCharCode(which); if(char.toLowerCase() == char) var is_lower_case = true; if(char.toUpperCase() == char) var is_upper_case = true;
Hey, this should work for accented letters.
var char = string.fromCharCode(which);
if(char.toLowerCase() == char) var is_lower_case = true;
if(char.toUpperCase() == char) var is_upper_case = true;