irt.org | Knowledge Base | JavaScript | Text | Q1122 [ previous next ]
You need charCodeAt():
<script language="JavaScript"><!-- Test = 'Hello World'; Values = ''; for (i=0,n=Test.length;i<n;i++) Values += Test.charAt(i) + ' = ' + Test.charCodeAt(i) + '\n'; alert(Values); //--></script>
How to do the impossible with Google Gears
Out and About