Hi Java Guru,<BR> I can't find the command to convert the character to an ASCII value. The reason I want to do this is because I want to check user entered data in a form before submission. The common way of (obj.length == 0 ) to check for blank entry, is sometimes not adequate. For example, I can enter spaces and the condition check will get through. So, I am thinking of using Character conversion to check<BR><BR> I found Netscape can use "obj.charCodeAt(position)" to convert to ASCII, but not in IE. Any suggestion ? Many Thanks for your time and patience.