Previous Example-|-Next Example-|-Return to Chapter Listing
Example 7.14:
Built-in Functions--escape
This page uses a built-in function, escape(form.txtCharacter.value), to return the ASCII encoding value of a character in the ISO Latin-1 character set. Type one or more non-alphanumeric characters into the text box, then click on the button to see the ASCII encoding value or values:
These are the scripts we used. First, in the HEAD:
Later in the Web page the function is called from this form:
Previous Example-|-Next Example-|-Return to Chapter Listing