charCodeAt
種類
メソッド
書式
文字列.charCodeAt(位置)
解説
指定された位置の文字コードを返します。
サンプルコード
str = "ABC";
c = str.charCodeAt(0);
alert("Aの文字コードは"+c+"番です");
実際のスクリプトを
ダウンロード