i just decided to pick it up today and already run into errors, my future bodes well.

i cant figure out why this :
for (var i=0;i<=tempstring.length-1;i++) {

alert(tempstring.charcodeat(i));

and this :
for (var i=0;i<=tempstring.length-1;i++) {

alert(tempstring.charat(i)) ;

dont alert, but this does :
for (var i=0;i<=tempstring.length-1;i++) {

alert('Character = ' + tempstring ) ;


any help?


Edited by customsex (28/07/2003 09:19)