I have the following code for converting string to ascii but I would like to add the values. The following code does not add the values;
[CODE=javascript]var str = owner.value
var code
strLength = owner.value.len gth
for (i =0;i<strLength; i++){
code = str.charCodeAt( i);
alert(code);
[/CODE]
I would appreciate any help.
Kshetarpal
[CODE=javascript]var str = owner.value
var code
strLength = owner.value.len gth
for (i =0;i<strLength; i++){
code = str.charCodeAt( i);
alert(code);
[/CODE]
I would appreciate any help.
Kshetarpal
Comment