Javascript Tutorial Regular Expressions, Form Validation and Event Handlers
Today I’m going to continue teaching you everything about Javascript. If you haven’t read my other Javascript tutorials they are available here:
You must read these tutorials before you have any hope of understanding the code that is coming. Like in the last tutorial I will teach you Javascript by walking you through a working script. As the title says above, this tutorial will focus on Regular Expressions, Form Validation and Event Handlers.
Regular Expressions
A Regular Expression is used to describe a series of characters, numbers and symbols. Regular expressions are used to verify that a visitor to your site entered a correct phone number or address. You would use a Regular Expression to state that the phone number: