Jul 13, 2007 #1 jumper2 Programmer Jul 13, 2007 41 ES Hello, can somebody tell me what is this function does exactly? "String.fromCharCode (r.charCodeAt (i) + 1);
Hello, can somebody tell me what is this function does exactly? "String.fromCharCode (r.charCodeAt (i) + 1);
Jul 13, 2007 #2 BillyRayPreachersSon Programmer Dec 8, 2003 17,047 GB String.fromCharCode makes a string from one or more ASCII character values. (String).charCodeAt gives you the ASCII value of the character at a certain position in a string. Hope this helps, Dan Coedit Limited - Delivering standards compliant, accessible web solutions [tt]Dan's Page [blue]@[/blue] Code Couch http://www.codecouch.com/dan/[/tt] Upvote 0 Downvote
String.fromCharCode makes a string from one or more ASCII character values. (String).charCodeAt gives you the ASCII value of the character at a certain position in a string. Hope this helps, Dan Coedit Limited - Delivering standards compliant, accessible web solutions [tt]Dan's Page [blue]@[/blue] Code Couch http://www.codecouch.com/dan/[/tt]