Duration: 17 minutes
Summary: In this video we discuss escaping characters and encoding strings. I will show you how to use the escape function to escape some special characters in the string. Special characters are characters that have a certain meaning in the language. For example, \’ to escape a single quote and \\ to escape a backslash. I will also show you how to use the encodeURI and decodeURI functions to encode and decode URLs. In the end of the video, I will create an HTML form that I will use in later videos. Currently the form contains only HTML controls. I explain the structure of the form and how to interact with it. In the upcoming videos, we will add JavaScript code to the form to read content, manipulate the DOM (the HTML tree) and validate the data entered by the user.
Methodology of the development of example: Good coding standard and simplified design.
Technology Used: JavaScript – Core language Concepts
Keywords: JavaScript, HTML, function, var, script, document, writeln, encodeURI, decodeURI, escape .