charCodeAt()

Syntax:

charCodeAt( index )

Return:

The ISO-Latin-1 codeset of the specified character at the index position. The codeset ranges from 0 to 255. The codes 0 to 127 are a direct match of the ASCII character set.

Parameters:

index – a number or a variable containing a number. Index is zero-based index. This parameter is optional and will start at the beginning of the string if not entered.

image\Script_Button.jpgExamples